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

Interface PickerSelectProps

index.d.ts:70–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68// 'testID' and 'activeOpacity' are also used, but can be overwritten safely
69
70export interface PickerSelectProps {
71 onValueChange: (value: any, index: number) => void;
72 items: Item[];
73 value?: any;
74 placeholder?: Item | {};
75 disabled?: boolean;
76 itemKey?: string | number;
77 style?: PickerStyle;
78 children?: React.ReactNode;
79 onOpen?: () => void;
80 useNativeAndroidPickerStyle?: boolean;
81 fixAndroidTouchableBug?: boolean;
82 doneText?: string;
83 onDonePress?: () => void;
84 onUpArrow?: () => void;
85 onDownArrow?: () => void;
86 onClose?: (donePressed: boolean) => void;
87 modalProps?: CustomModalProps;
88 textInputProps?: CustomTextInputProps;
89 pickerProps?: CustomPickerProps;
90 touchableDoneProps?: CustomTouchableDoneProps;
91 touchableWrapperProps?: CustomTouchableWrapperProps;
92 Icon?: React.FC;
93 InputAccessoryView?: React.ReactNode;
94 darkTheme?: boolean;
95 dropdownItemStyle?: StyleProp<ViewStyle>,
96 activeItemStyle?: StyleProp<ViewStyle>,
97}
98
99declare class Picker extends React.Component<PickerSelectProps> {
100 togglePicker: (animate?: boolean, postToggleCallback?: () => void) => void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected