react-native-customised-editable-picker

React native Editable picker component for both android and ios


Keywords
react native picker, react native customised picker, react-native customised editable picker
Install
npm install react-native-customised-editable-picker@0.0.14

Documentation

react-native-customised-editable-picker

React native Editable picker component for both android and ios

Introduction

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

Features

  • can be customised by the user to edit and add items
  • styles can be customised
  • pure javascript implementation

Installation:

Install the component through npm using:

```
npm install react-native-customised-editable-picker --save
```

Example:

```js
import CustomDropDown from 'react-native-customised-editable-picker';

data  = ["React","Native","Android","Java","Hello World"];

<CustomDropDown
  data={data}
  isEditable={true}
/>
```

Props:

* - 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