@demark-pro/react-booking-calendar
Version:
A responsive customizable React Booking calendar with overbooking protection
13 lines (12 loc) • 542 B
TypeScript
/// <reference types="react" />
import { GridOnScrollProps } from "react-window";
import { CalendarDate, CalendarPropsBase } from "./types";
export type ScrollableCalendarInitialScroll = CalendarDate | null;
export type ScrollableCalendarProps = CalendarPropsBase & {
startMonth?: CalendarDate;
monthsCount?: number;
colHeight?: number;
initialScroll?: ScrollableCalendarInitialScroll;
onScroll?: (e: GridOnScrollProps) => void;
};
export declare const ScrollableCalendar: (props: ScrollableCalendarProps) => JSX.Element;