React Native Searchable DropDown
a list of item with flatlist you can search on it and use one of them like dropdown
Features
- simple flatlist dropdown searchable
Installation
$ npm install react-native-dropdown-searchable --save
Quick Start
;;; { superprops; thisstate = list: tagId: 1 title: 'first item' tagId: 2 title: 'second item' tagItem: tagId: 1 title: 'nothing' } { return <View style=stylescontainer> <SearchableDropDown onTextChange= { this; } onItemSelect= { this; } items=thisstatelist defaultIndex=0 resetValue=false placeholder='type something...' placeholderTextColor='black' underlineColorAndroid="transparent" /> </View> ; } const styles = StyleSheet;
Authors
- Kianoosh Soleimani -(https://github.com/KianooshSoleimani)
License
This project is licensed under the MIT License - see the LICENSE.md file for details