react-select-3ilogics
v0.1.1
Published
Downloads
6
Readme
React Native Select Input
Installation
Installation can be done through npm
or yarn
:
npm install react-select-3ilogics --save
# or
yarn add react-select-3ilogics
Usage
Import the SelectInput
and wrap you content inside of it.
import React from 'react'
import { View } from 'react-native'
import SelectInput from 'react-select-3ilogics'
class Component extends React.Component {
render() {
const options = [{ value: 0, label: '0' }]
return (
<View>
<SelectInput value={0} options={options} />
</View>
)
}
}