react-day-picker
Version:
Customizable Date Picker for React
4 lines (3 loc) • 331 B
TypeScript
import type { DateLib, DayPickerProps } from "../index.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">, dateLib: DateLib): Date;