# react-native-roll-picker-line-control

> A cross-platform (iOS&Android), selector/picker component for React Native.

Latest version **1.0.8** (published 2019-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-roll-picker-line-control
pnpm add react-native-roll-picker-line-control
yarn add react-native-roll-picker-line-control
bun add react-native-roll-picker-line-control
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2019-11-09 |
| First published | 2019-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 462.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | blackflag |
| Maintainers | blackflagbin |

## Links

- npm: https://www.npmjs.com/package/react-native-roll-picker-line-control
- npm.io page: https://npm.io/package/react-native-roll-picker-line-control

## Recent versions

- 1.0.8 (latest) — 2019-11-09
- 1.0.7 — 2019-10-31
- 1.0.6 — 2019-10-31

## README

# react-native-roll-picker

A cross-platform (iOS&amp;Android), selector/picker component for React Native.

<br>Demo
------
<br>![](https://github.com/yjy5264/react-native-roll-picker/raw/master/image/picker.gif)
<br>Install
------
```javascript
npm install react-native-roll-picker --save
```
<br>Props
------
```javascript
data = {[{a: 'bbb'}]} // json type array
name = 'a' // json name with {a: 'bbb'}
onRowChange = {index => {}} // when row changed, return the index
```
<br>Function
------
```javascript
ref.setDataSource(data) // reset data with json type array
```
<br>Usage
------
```javascript
import Picker from 'react-native-roll-picker'

<Picker 
    data = {[{a: 'bbb'}]}
    ref = '_Picker'
    name = 'a'
    onRowChange = {index => {}}
/>

this.refs._Picker.setDataSource(data); 
```

---
_Source: https://npm.io/package/react-native-roll-picker-line-control · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
