select icon indicating copy to clipboard operation
select copied to clipboard

`optionRender` should use generic type `OptionType` instead of the default type

Open yifanwww opened this issue 1 year ago • 0 comments

optionRender should use generic type OptionType instead of the default type BaseOptionType

code: https://github.com/react-component/select/blob/v14.13.0/src/Select.tsx#L145

 optionRender?: (
-  oriOption: FlattenOptionData<BaseOptionType>,
+  oriOption: FlattenOptionData<OptionType>,
   info: { index: number },
 ) => React.ReactNode;

yifanwww avatar Mar 17 '24 17:03 yifanwww