- Notifications
You must be signed in to change notification settings - Fork55
A simple picker for React Native.
License
NotificationsYou must be signed in to change notification settings
puredazzle/react-native-simple-picker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple picker for React Native.
$ npm install react-native-simple-picker --save
From version 2.0 React Native Simple Picker now supports both Android and iOS.
You will find an example in the/exampleApp
folder.
Prop | Default | Type | Description | Required |
---|---|---|---|---|
buttonStyle | - | Object | Style Close/Continue Buttons | false |
options | - | Array | Options that will be passed to the picker | true |
initialOptionIndex | - | Number | Initial selected option based on it's index | false |
labels | - | Array | Labels for the options passed to the picker | false |
confirmText | Confirm | String | Confirm button text | false |
confirmTextStyle | - | Object | Style Confirm button text | false |
cancelText | Cancel | String | Cancel button text | false |
cancelTextStyle | - | Object | Style Close button text | false |
itemStyle | - | Object | Picker style prop. Use this to customize the picker colors, etc | false |
styles | - | Object | Overwrites the defaultstyles of the picker | false |
disableOverlay | - | bool | When set to false it will dismiss the picker when the outside region is pressed | false |
Prop | Params | Description |
---|---|---|
onSubmit | - | Use this to trigger any action on your parent component when an option is selected |
This package is licensed underThe MIT License (MIT).
About
A simple picker for React Native.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors14
Uh oh!
There was an error while loading.Please reload this page.