Skip to content

Commit

Permalink
Added keyof
Browse files Browse the repository at this point in the history
  • Loading branch information
NextThread committed Sep 17, 2023
1 parent b5fccbd commit cea869e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export interface SelectProps<ValueType = any, OptionType extends BaseOptionType
*/
filterOption?: boolean | FilterFunc<OptionType>;
filterSort?: (optionA: OptionType, optionB: OptionType) => number;
optionFilterProp?: string;
optionFilterProp?: keyof OptionType;
optionLabelProp?: string;
children?: React.ReactNode;
options?: OptionType[];
Expand Down

0 comments on commit cea869e

Please sign in to comment.