UNPKG

react-calendar-range-picker

Version:
24 lines (23 loc) 838 B
import React from 'react'; import './react-calendar-range-picker.css'; export interface CalendarPickerProps { show?: boolean; locale?: string; allowPageClickToClose?: boolean; defaultDate?: string; style?: React.CSSProperties; defaultTimes?: Array<string>; enableTimeSelection?: boolean; markedDates?: Array<string>; supportDateRange?: Array<string>; duration?: number; onClose?: () => void; onYearPicked?: (res: object) => void; onMonthPicked?: (res: object) => void; onDatePicked?: (res: object) => void; onResetDate?: (res: object) => void; onResetDefaultDate?: (res: object) => void; handleChooseHourPick?: (res: Array<string>) => void; handleChooseMinutePick?: (res: Array<string>) => void; } export declare const CalendarPicker: React.FC<CalendarPickerProps>;