react-day-picker
Version:
Customizable Date Picker for React
4 lines (3 loc) • 374 B
TypeScript
import type { DateLib, DayPickerProps } from "../types/index.js";
/** Return the start and end months for the calendar navigation. */
export declare function getNavMonths(props: Pick<DayPickerProps, "captionLayout" | "endMonth" | "startMonth" | "today" | "fromMonth" | "fromYear" | "toMonth" | "toYear">, dateLib: DateLib): [start: Date | undefined, end: Date | undefined];