3.1.4 • Published 2 years ago

react-native-simple-picker v3.1.4

Weekly downloads
443
License
MIT
Repository
github
Last release
2 years ago

React Native Simple Picker

A simple picker for React Native.

Latest Version Total Downloads License

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

PropDefaultTypeDescriptionRequired
buttonStyle-ObjectStyle Close/Continue Buttonsfalse
options-ArrayOptions that will be passed to the pickertrue
initialOptionIndex-NumberInitial selected option based on it's indexfalse
labels-ArrayLabels for the options passed to the pickerfalse
confirmTextConfirmStringConfirm button textfalse
confirmTextStyle-ObjectStyle Confirm button textfalse
cancelTextCancelStringCancel button textfalse
cancelTextStyle-ObjectStyle Close button textfalse
itemStyle-ObjectPicker style prop. Use this to customize the picker colors, etcfalse
styles-ObjectOverwrites the default styles of the pickerfalse
disableOverlay-boolWhen set to false it will dismiss the picker when the outside region is pressedfalse

Events

PropParamsDescription
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