Skip to content

Commit

Permalink
fix: fix typing of optionRender (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
cravend authored May 23, 2024
1 parent cc10617 commit 33bd6d7
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 @@ -143,7 +143,7 @@ export interface SelectProps<ValueType = any, OptionType extends BaseOptionType
children?: React.ReactNode;
options?: OptionType[];
optionRender?: (
oriOption: FlattenOptionData<BaseOptionType>,
oriOption: FlattenOptionData<OptionType>,
info: { index: number },
) => React.ReactNode;
defaultActiveFirstOption?: boolean;
Expand Down

0 comments on commit 33bd6d7

Please sign in to comment.