@demark-pro/react-booking-calendar
Version:
A responsive customizable React Booking calendar with overbooking protection
11 lines (10 loc) • 417 B
TypeScript
/// <reference types="react" />
import { CalendarMonth, MonthChangeHandler, CalendarPropsBase, YearChangeHandler } from "./types";
export type CalendarProps = CalendarPropsBase & {
initialDate?: Date | number | null;
month?: CalendarMonth;
year?: number;
onMonthChange?: MonthChangeHandler;
onYearChange?: YearChangeHandler;
};
export declare function Calendar(props: CalendarProps): JSX.Element;