lmksystems-select-input
v1.0.0
Published
A React Native SelectInput for iOS and Android, which uses a keyboard with a Picker component
Downloads
53
Maintainers
Readme
React Native Select Input
Installation
Installation can be done through npm
or yarn
:
npm install @atrash.ala/lmksystems-input
# or
npm install @atrash.ala/lmksystems-input --force
Usage
Import the SelectInput
and wrap you content inside of it.
import React from 'react'
import { View } from 'react-native'
import SelectInput from 'lmksystems-input'
class Component extends React.Component {
render() {
const options = [{ value: 0, label: '0' }]
return (
<View>
<SelectInput value={0} options={options} />
</View>
)
}
}
install dependencies with
npm install
or
yarn install
run the project with
react-native run-ios
or
react-native run-android
## License
[MIT.](https://github.com/markuswind/react-native-select-input-ios/blob/master/LICENSE)