UNPKG

react-trip-date

Version:

Accessible, fully customizable date and range picker for React applications.

25 lines 1.18 kB
import { Dayjs } from "dayjs"; import { Dispatch, SetStateAction } from "react"; import { RangePickerComponents, RangePickerSelectedDays } from "./rangePicker.type"; interface Props { source: Dayjs; jalali: boolean; startOfWeek: number; hoverDay?: string; numberOfMonths: number; selectedDays?: RangePickerSelectedDays; disabledDays: string[]; disabledBeforeToday: boolean; disabledBeforeDate?: string; disabledAfterDate?: string; disabled: boolean; allowDisabledDaysSpan: boolean; components?: RangePickerComponents; setSource: Dispatch<SetStateAction<Dayjs>>; setHoverDay: Dispatch<SetStateAction<string | undefined>>; setSelectedDays: Dispatch<SetStateAction<RangePickerSelectedDays>>; dayClasses?: (day: Dayjs) => string[]; } export declare const Months: ({ allowDisabledDaysSpan, numberOfMonths, startOfWeek, selectedDays, disabledDays, hoverDay, setHoverDay, components, setSelectedDays, disabledBeforeToday, disabledBeforeDate, disabledAfterDate, jalali, disabled, source: sourceProp, setSource, dayClasses, }: Props) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=Months.d.ts.map