Renders the native picker component on iOS and Android. Example:
Callback for when an item is selected. This is called with the following parameters:
value prop of the item that was selected
itemPosition: the index of the selected item in this picker
Value matching value of one of the items. Can be a string or an integer.
Used to locate this view in end-to-end tests.
If set to false, the picker will be disabled, i.e. the user will not be able to make a selection.
On Android, specifies how to display the selection items when the user taps on the picker:
Prompt string for this picker, used on Android in dialog mode as the title of the dialog.
Style to apply to each of the item labels.
Improve this page by sending a pull request!