diff --git a/src/Select.tsx b/src/Select.tsx index 4db82807..7254bba3 100644 --- a/src/Select.tsx +++ b/src/Select.tsx @@ -134,7 +134,7 @@ export interface SelectProps; filterSort?: (optionA: OptionType, optionB: OptionType) => number; - optionFilterProp?: string; + optionFilterProp?: keyof OptionType; optionLabelProp?: string; children?: React.ReactNode; options?: OptionType[];