Skip to content

Commit

Permalink
type: update label prop type (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Mar 7, 2024
1 parent 9692325 commit ff06f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.tsx
Expand Up @@ -97,7 +97,7 @@ export interface BaseOptionType {
}

export interface DefaultOptionType extends BaseOptionType {
label: React.ReactNode;
label?: React.ReactNode;
value?: string | number | null;
children?: Omit<DefaultOptionType, 'children'>[];
}
Expand Down

0 comments on commit ff06f65

Please sign in to comment.