UNPKG

@qite/tide-booking-component

Version:

React Booking wizard & Booking product component for Tide

20 lines (19 loc) 711 B
import React from 'react'; interface CalendarProps { year?: number; month?: number; hasPreviousButton?: boolean; hasNextButton?: boolean; hasFixedHeight?: boolean; weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6; disabledDaysFunction?: (date: Date) => boolean; selectedDaysFunction?: (date: Date) => boolean; extraClassNamesFunction?: (date: Date) => string[]; dayContentFunction?: (date: Date) => JSX.Element | null | undefined; onDayClick?: (date: Date) => void; onDayMouseOver?: (date: Date) => void; onNextClick?: (year: number, month: number) => void; onPreviousClick?: (year: number, month: number) => void; } declare const Calendar: React.FC<CalendarProps>; export default Calendar;