Closed mehimanshupatil closed 3 years ago
This is great, thanks!
Waiting for https://github.com/peacechen/react-native-modal-selector/issues/168 to be confirmed resolved before merging this (in case of needing to revert the recent changes in main branch).
@peacechen 1) updated expo version of sample app to 40.0.0 2) added typescript to sample app 3) converted sample app.tsx from class component to functional 4) fixed types issue occurred in #157 PR @kg-currenxie can you check type error
@peacechen also the type of changedItem state in package is key of selected item or the selected item itself. because in onchange method the selected item is set while initializing state only key is set