react-day-picker
Version:
Customizable Date Picker for React
11 lines (10 loc) • 551 B
TypeScript
import { CalendarMonth } from "../classes/index.js";
import type { DateLib, DayPickerProps } from "../types/index.js";
/** Return the months to display in the calendar. */
export declare function getMonths(
/** The months (as dates) to display in the calendar. */
displayMonths: Date[],
/** The dates to display in the calendar. */
dates: Date[],
/** Options from the props context. */
props: Pick<DayPickerProps, "fixedWeeks" | "ISOWeek" | "locale" | "weekStartsOn" | "reverseMonths" | "firstWeekContainsDate">, dateLib: DateLib): CalendarMonth[];