UNPKG

406 BTypeScriptView Raw
1/**
2 * Format the years for the dropdown option label.
3 *
4 * @defaultValue `year.toString()`
5 * @group Formatters
6 * @see https://daypicker.dev/docs/translation#custom-formatters
7 */
8export declare function formatYearDropdown(year: number): string;
9/**
10 * @private
11 * @deprecated Use `formatYearDropdown` instead.
12 * @group Formatters
13 */
14export declare const formatYearCaption: typeof formatYearDropdown;