A cross-platform (iOS&Android), selector/picker component for React Native.
npm install react-native-roll-picker --save
data = {[{a: 'bbb'}]} // json type array
name = 'a' // json name with {a: 'bbb'}
onRowChange = {index => {}} // when row changed, return the index
ref.setDataSource(data) // reset data with json type array
import Picker from 'react-native-roll-picker'
<Picker
data = {[{a: 'bbb'}]}
ref = '_Picker'
name = 'a'
onRowChange = {index => {}}
/>
this.refs._Picker.setDataSource(data);