Skip to content

Commit 33bd6d7

Browse files
authored
fix: fix typing of optionRender (#1048)
1 parent cc10617 commit 33bd6d7

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
@@ -143,7 +143,7 @@ export interface SelectProps<ValueType = any, OptionType extends BaseOptionType
143143
children?: React.ReactNode;
144144
options?: OptionType[];
145145
optionRender?: (
146-
oriOption: FlattenOptionData<BaseOptionType>,
146+
oriOption: FlattenOptionData<OptionType>,
147147
info: { index: number },
148148
) => React.ReactNode;
149149
defaultActiveFirstOption?: boolean;

0 commit comments

Comments
 (0)