react-day-picker
Version:
Customizable Date Picker for React
5 lines (4 loc) • 395 B
TypeScript
import { type DateLib } from "../classes/DateLib.js";
import { type DayPickerProps } from "../types/props.js";
/** Return the start month based on the props passed to DayPicker. */
export declare function getInitialMonth(props: Pick<DayPickerProps, "fromYear" | "toYear" | "startMonth" | "endMonth" | "month" | "defaultMonth" | "today" | "numberOfMonths" | "timeZone">, dateLib: DateLib): Date;