react-day-picker
Version:
Customizable Date Picker for React
6 lines (5 loc) • 465 B
TypeScript
import { DropdownOption } from "../components/Dropdown.js";
import type { Locale } from "../lib/dateLib.js";
import type { DateLib, Formatters } from "../types/index.js";
/** Return the months to show in the dropdown. */
export declare function getMonthOptions(displayMonth: Date, navStart: Date | undefined, navEnd: Date | undefined, formatters: Pick<Formatters, "formatMonthDropdown">, locale: Locale | undefined, dateLib: DateLib): DropdownOption[] | undefined;