| 68 | // 'testID' and 'activeOpacity' are also used, but can be overwritten safely |
| 69 | |
| 70 | export 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 | |
| 99 | declare class Picker extends React.Component<PickerSelectProps> { |
| 100 | togglePicker: (animate?: boolean, postToggleCallback?: () => void) => void; |
nothing calls this directly
no outgoing calls
no test coverage detected