studiobakers / react-ui-toolkit

Bakers Studio's React-based UI Toolkit
MIT License
15 stars 2 forks source link

RadioGroup: `onSelect` expects id for RadioInputItem to always be `string` #57

Closed edizcelik closed 3 years ago

edizcelik commented 3 years ago

Say, I have items that have the following shape: RadioInputItem<SpecificIDs>[]. When I define onSelect prop with second parameter's type as RadioInputItem<SpecificIDs>, TSC complains saying that ids are not compatible.

mucahit commented 3 years ago

Released https://github.com/Hipo/react-ui-toolkit/releases/tag/1.0.0-alpha.4.0.0