Skip to content

Commit

Permalink
fix: fix type of OptionProps
Browse files Browse the repository at this point in the history
rc-select�#Option could accept "label" props, but it was lose in type def OptionProps
https://github.com/react-component/select/blob/9ad3b02c82177db36d8e73f432192f34b9e04e17/src/interface/index.ts#L11
  • Loading branch information
ZhechenLi authored and afc163 committed Dec 11, 2019
1 parent fdc6070 commit 6301c20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface OptionProps {
disabled?: boolean;
value?: string | number;
title?: string;
label?: React.ReactNode;
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
Expand Down

0 comments on commit 6301c20

Please sign in to comment.