UNPKG

551 BTypeScriptView Raw
1import { CalendarMonth } from "../classes/index.js";
2import type { DateLib, DayPickerProps } from "../types/index.js";
3/** Return the months to display in the calendar. */
4export declare function getMonths(
5/** The months (as dates) to display in the calendar. */
6displayMonths: Date[],
7/** The dates to display in the calendar. */
8dates: Date[],
9/** Options from the props context. */
10props: Pick<DayPickerProps, "fixedWeeks" | "ISOWeek" | "locale" | "weekStartsOn" | "reverseMonths" | "firstWeekContainsDate">, dateLib: DateLib): CalendarMonth[];