Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PickerProperties

Indexable

[key: string]: any

key for others property.

Index

Properties

Optional children

children: ReactNode

The option elements to populate the select with. Can be some MenuItem when native is false and option when native is true. The option elements to populate the select with. Can be some MenuItem when native is false and option when native is true.

Optional enabled

enabled: undefined | true | false

enable or disable selection and for android only. enable or disable selection and for android only.

Optional itemStyle

itemStyle: undefined | object

Style to apply to each of the item labels. Style to apply to each of the item labels.

Optional mode

mode: "dialog" | "dropdown"

On Android, specifies how to display the selection items when the user taps on the picker: It is for android only On Android, specifies how to display the selection items when the user taps on the picker: It is for android only

Optional multiple

multiple: undefined | true | false

If true, value must be an array and the menu will support multiple selections. You can only use it when the native property is false (default). If true, value must be an array and the menu will support multiple selections. You can only use it when the native property is false (default).

Optional onValueChange

onValueChange: undefined | function

Callback for when an item is selected. This is called with the following parameters: - itemValue: the value prop of the item that was selected itemPosition: the index of the selected item in this picker Callback for when an item is selected. This is called with the following parameters: - itemValue: the value prop of the item that was selected itemPosition: the index of the selected item in this picker

Optional prompt

prompt: undefined | string

Prompt string for this picker,used on Android in dialog mode as the title of the dialog. Prompt string for this picker,used on Android in dialog mode as the title of the dialog.

Optional selectedValue

selectedValue: any

Value matching value of one of the items. Can be a string or an integer. Value matching value of one of the items. Can be a string or an integer.

Optional style

style: undefined | object

It is used for styling the picker It is used for styling the picker

Optional testID

testID: undefined | string

Used to locate this view in end-to-end tests. Used to locate this view in end-to-end tests.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc