UNPKG

@demark-pro/react-booking-calendar

Version:

A responsive customizable React Booking calendar with overbooking protection

7 lines (6 loc) 236 B
import { CalendarReserved } from "../types"; export type GetProtectedTimeReturn = { startDate: Date; endDate: Date; }; export declare const getProtectedTime: (date: Date, reserved: CalendarReserved[]) => GetProtectedTimeReturn;