diff --git a/components/select/index.tsx b/components/select/index.tsx index 0653c6017f..9d78f9d394 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -20,7 +20,7 @@ export interface AbstractSelectProps { dropdownStyle?: React.CSSProperties; dropdownMenuStyle?: React.CSSProperties; onSearch?: (value: string) => any; - filterOption?: boolean | ((inputValue: string, option: Object) => any); + filterOption?: boolean | ((inputValue: string, option: React.ReactElement) => any); } export interface LabeledValue { @@ -56,10 +56,11 @@ export interface OptionProps { disabled?: boolean; value?: any; title?: string; + children?: React.ReactNode; } export interface OptGroupProps { - label?: string | React.ReactElement; + label?: React.ReactNode; } export interface SelectContext {