UNPKG

@qite/tide-booking-component

Version:

React Booking wizard & Booking product component for Tide

23 lines (22 loc) 788 B
import { Locale } from 'date-fns'; import React from 'react'; interface DateRangePickerProps { fromDate?: Date; toDate?: Date; focusMonth?: { month: number; year: number; }; locale?: Locale; duration?: number; disabledDaysFunction?: (date: Date) => boolean; extraClassNamesFunction?: (date: Date) => string[]; dayContentFunction?: (date: Date) => JSX.Element | null | undefined; onSelectionChange?: (fromDate: Date, toDate: Date) => void; onFromDateChange?: (date?: Date) => void; onToDateChange?: (date?: Date) => void; onFocusMonthChange?: (focusMonth: { month: number; year: number }) => void; toDateByFromDate?: (fromDate?: Date) => Date | undefined; } declare const DateRangePicker: React.FC<DateRangePickerProps>; export default DateRangePicker;