Skip to content

Commit 2a6338d

Browse files
authored
Merge cea869e into b5fccbd
2 parents b5fccbd + cea869e commit 2a6338d

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
@@ -134,7 +134,7 @@ export interface SelectProps<ValueType = any, OptionType extends BaseOptionType
134134
*/
135135
filterOption?: boolean | FilterFunc<OptionType>;
136136
filterSort?: (optionA: OptionType, optionB: OptionType) => number;
137-
optionFilterProp?: string;
137+
optionFilterProp?: keyof OptionType;
138138
optionLabelProp?: string;
139139
children?: React.ReactNode;
140140
options?: OptionType[];

0 commit comments

Comments
 (0)