UNPKG

tdesign-mobile-vue

Version:
24 lines (23 loc) 803 B
export interface TdDateTimePickerProps { cancelBtn?: string; confirmBtn?: string; end?: string | number; format?: string; mode?: DateTimePickerMode; renderLabel?: (type: string, value: number) => string; showWeek?: boolean; start?: string | number; title?: string; value?: DateValue; defaultValue?: DateValue; modelValue?: DateValue; onCancel?: (context: { e: MouseEvent; }) => void; onChange?: (value: DateValue) => void; onConfirm?: (value: DateValue) => void; onPick?: (value: DateValue) => void; } export declare type DateTimePickerMode = TimeModeValues | Array<TimeModeValues>; export declare type TimeModeValues = 'year' | 'month' | 'date' | 'hour' | 'minute' | 'second'; export declare type DateValue = string | number;