React native Editable picker component for both android and ios
Editable picker component can be used both as a picker and text input where picker when long pressed turn to text input and new items can be added to the list
- can be customised by the user to edit and add items
- styles can be customised
- pure javascript implementation
Install the component through npm using:
```
npm install react-native-customised-editable-picker --save
```
```js
import CustomDropDown from 'react-native-customised-editable-picker';
data = ["React","Native","Android","Java","Hello World"];
<CustomDropDown
data={data}
isEditable={true}
/>
```
*
- mandatory
Props Name | Description |
---|---|
* data |
array content listed for picker |
* isEditable |
condition to check whether picker is editable or not |
pickerStyle |
styles applied to picker component |
modalStyle |
styles applied to the modal component |
textinputStyle |
styles applied to the text input |