Skip to content

Commit ff06f65

Browse files
authored
type: update label prop type (#1031)
1 parent 9692325 commit ff06f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export interface BaseOptionType {
9797
}
9898

9999
export interface DefaultOptionType extends BaseOptionType {
100-
label: React.ReactNode;
100+
label?: React.ReactNode;
101101
value?: string | number | null;
102102
children?: Omit<DefaultOptionType, 'children'>[];
103103
}

0 commit comments

Comments
 (0)