UNPKG

zmp-react

Version:

Build full featured iOS & Android apps using ZMP & React

63 lines (57 loc) 1.57 kB
import * as React from 'react'; interface DatePickerProps { slot?: string; actionText?: string; title?: string; inputId?: string; name?: string; onClose?: (...args: any[]) => void; onClickAction?: (...args: any[]) => void; locale?: string; backdrop ?: boolean; backdropEl ?: string | object; dateFormat?: string; datePickerColumns?: 'MM-DD-YYYY' | 'DD-MM-YYYY' | 'YYYY-MM-DD'; dateTimePicker?: boolean; datePicker?: boolean; startYear?: number; endYear?: number; minStep?: number; listInput?: boolean; is24Hours?: boolean; label?: string; id?: string | number; className?: string; style?: React.CSSProperties; name ?: string; value ?: Date; defaultValue ?: Date; startDate?: Date; endDate?: Date; placeholder ?: string; inputId ?: string | number; autofocus ?: boolean; autosave ?: string; disabled ?: boolean; readonly ?: boolean; required ?: boolean; pattern ?: string; validate ?: boolean | string; validateOnBlur ?: boolean; onValidate ?: Function; clearButton ?: boolean; errorMessage ?: string; errorMessageForce ?: boolean; info ?: string; wrap ?: boolean; inputStyle ?: React.CSSProperties; onInputNotEmpty ?: (event?: any) => void; onInputEmpty ?: (event?: any) => void; onInputClear ?: (event?: any) => void; onFocus ?: (...args: any[]) => void; onBlur ?: (...args: any[]) => void; onChange ?: (...args: any[]) => void; children?: React.ReactNode; } declare const DatePicker: React.FunctionComponent<DatePickerProps>; export default DatePicker;