3.1.4 • Published 2 years ago
react-native-simple-picker v3.1.4
React Native Simple Picker
A simple picker for React Native.
Install
$ npm install react-native-simple-picker --save
iOS and Android
From version 2.0 React Native Simple Picker now supports both Android and iOS.
Example
You will find an example in the /exampleApp
folder.
Properties
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 default styles of the picker | false |
disableOverlay | - | bool | When set to false it will dismiss the picker when the outside region is pressed | false |
Events
Prop | Params | Description |
---|---|---|
onSubmit | - | Use this to trigger any action on your parent component when an option is selected |
License
This package is licensed under The MIT License (MIT).
3.1.4
2 years ago
3.1.3
4 years ago
3.1.2
5 years ago
3.1.1
7 years ago
3.1.0
7 years ago
3.0.0
7 years ago
2.3.1
7 years ago
2.2.1
7 years ago
2.2.0
7 years ago
2.1.0
7 years ago
2.0.0
7 years ago
1.4.3
8 years ago
1.4.2
8 years ago
1.4.1
8 years ago
1.4.0
8 years ago
1.3.0
8 years ago
1.2.1
9 years ago
1.2.0
9 years ago
1.1.0
9 years ago
1.0.0
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago