select
select copied to clipboard
The customizeInputElement type definition are wrong such that it would throw an error on type checks
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!