UNPKG

react-web-native-sketch

Version:

[TODO: We need an overview of how this can be used via npm vs as a local package]

20 lines (19 loc) 648 B
import * as React from 'react'; import { Option } from '../../redux/FormComponents/FormComponents.types'; export interface CustomPickerProps { cancelTextIOS?: string; confirmTextIOS?: string; isSelect: boolean; isVisible: boolean; maximumDate?: Date; minimumDate?: Date; minuteInterval?: 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30; mode?: 'date' | 'time' | 'datetime'; neverDisableConfirmIOS?: boolean; onCancel: () => void; onConfirm: (value: any) => void; options?: Array<Option>; title?: string; value: any; } export declare const CustomPicker: React.ComponentType<CustomPickerProps>;