UNPKG

@qite/tide-booking-component

Version:

React Booking wizard & Booking product component for Tide

25 lines (24 loc) 771 B
import React from 'react'; import { Locale } from 'date-fns'; interface CalendarProps { year?: number; month?: number; hasPreviousButton?: boolean; hasNextButton?: boolean; hasFixedHeight?: boolean; weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6; isStartDate?: (date: Date) => boolean; isEndDate?: (date: Date) => boolean; isInRange?: (date: Date) => boolean; onDayClick?: (date: Date) => void; onDayMouseOver?: (date: Date) => void; onNextClick?: (year: number, month: number) => void; onPreviousClick?: (year: number, month: number) => void; locale?: Locale; extraClassNamesFunction?: (date: Date) => string[]; isMobile?: boolean; minDate?: Date; maxDate?: Date; } declare const Calendar: React.FC<CalendarProps>; export default Calendar;