MCPcopy
hub / github.com/lawnstarter/react-native-picker-select / Item

Interface Item

index.d.ts:12–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { PickerProps } from '@react-native-picker/picker/typings/Picker';
11
12export interface Item {
13 label: string;
14 value: any;
15 key?: string | number;
16 color?: string;
17 testID?: string;
18 /**
19 * Used when you want a different label displayed
20 * on the input than what is displayed on the Picker
21 *
22 * If falsy, label is used
23 */
24 inputLabel?: string;
25}
26
27export interface PickerStyle {
28 chevron?: StyleProp<ViewStyle>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected