select icon indicating copy to clipboard operation
select copied to clipboard

The customizeInputElement type definition are wrong such that it would throw an error on type checks

Open AmagiDDmxh opened this issue 5 years ago • 0 comments

https://github.com/react-component/select/blob/245b3b18a8815abc419ab71f9d4ad7c407f0b486/src/generate.tsx#L625-L626

Well, It would throw an error says that Type null is not assignable to type ReactElement and further caused references or inner component to cause error as expected.

Tell me if I got it wrong, thanks!

AmagiDDmxh avatar Jul 04 '20 16:07 AmagiDDmxh