react-native-smooth-picker
react-native-smooth-picker copied to clipboard
Adds react-native-gesture-handler FlatList
Please check it, I'm newbie with TypeScript.
Issue #25
Thanks for your PR! I think it's not optimal to just add the library you need and to give the choice between the RN's Flatlist component and the gesture handler one. It add a dependence to the library that it doesn't need to function. I think you can just add an optional props where you can pass your wanted Flatlist componant to SmoothPicker. If the props is not undefined, the picker would use the props, and if it's undefined, it would use the RN's Flatlist.
What do you think?