react-day-picker
Version:
Customizable Date Picker for React
13 lines (12 loc) • 385 B
TypeScript
/**
* Format the month number for the dropdown option label.
*
* @defaultValue The localized month name
* @group Formatters
* @see https://daypicker.dev/docs/translation#custom-formatters
*/
export declare function formatMonthDropdown(
/** The month number to format. */
monthNumber: number,
/** The locale to use for formatting. */
locale?: import("date-fns").Locale): string;