@demark-pro/react-booking-calendar
Version:
A responsive customizable React Booking calendar with overbooking protection
20 lines (19 loc) • 1.53 kB
TypeScript
export { Calendar } from "./calendar";
export { ScrollableCalendar } from "./scrollable-calendar";
export { getProtectedTime } from "./utils/get-protected-time";
export { getProtectedInterval } from "./utils/get-protected-interval";
export type { ScrollableCalendarProps } from "./scrollable-calendar";
export type { CalendarProps } from "./calendar";
export type { CalendarComponents } from "./components";
export type { CalendarSelected, CalendarReserved, CalendarClassNames, CalendarMonth, CalendarOptions, CalendarDisabled, CalendarProtection, CalendarChangeHandler, OverbookHandler, OverbookTypes, MonthChangeHandler, YearChangeHandler, CalendarDay, CalendarDayState, CalendarDate, } from "./types";
export type { CalendarContainerProps, WeekContainerProps, DaysContainerProps, DayContainerProps, } from "./components/containers";
export type { MonthArrowBackProps } from "./components/MonthArrowBack";
export type { MonthContentProps } from "./components/MonthContent";
export type { MonthArrowNextProps } from "./components/MonthArrowNext";
export type { WeekContentProps } from "./components/WeekContent";
export type { DayContentProps } from "./components/DayContent";
export type { DayTodayProps } from "./components/DayToday";
export type { DayReservationProps } from "./components/DayReservation";
export type { DaySelectionProps } from "./components/DaySelection";
export type { GetProtectedTimeReturn } from "./utils/get-protected-time";
export type { GetProtectedIntervalReturn } from "./utils/get-protected-interval";