react-day-picker
Version:
Customizable Date Picker for React
19 lines (18 loc) • 565 B
TypeScript
import type { LabelOptions } from "../lib/dateLib.js";
import { DateLib } from "../types/index.js";
/**
* Return an ARIA label for the month grid, that will be announced when entering
* the grid.
*
* @defaultValue `LLLL y` (e.g. "November 2022")
* @group Labels
* @see https://daypicker.dev/docs/translation#aria-labels
*/
export declare function labelGrid(date: Date, options?: LabelOptions,
/** @ignore */
dateLib?: DateLib): string;
/**
* @deprecated Use {@link labelGrid} instead.
* @protected
*/
export declare const labelCaption: typeof labelGrid;