Picker

This component displays a control that allows the user to pick from a list of items.

Classes

interface PickerPropsItem {
    label: string;
    value: string;
}

Props

// List of items to be displayed in the picker
items: PickerPropsItem[] = [];

// Initially-selected item
selectedValue: string;

// Invoked when the selected value changes
onValueChange: (itemValue: string, itemPosition: number) => void;

style?: PickerStyleRuleSet | PickerStyleRuleSet[];

Styles

**Text Color**
color: 'string';

Flexbox Styles

View Styles

Transform Styles

Methods

No methods