UNPKG

670 BTypeScriptView Raw
1import type { DateLib, LabelOptions } from "../index.js";
2import type { Modifiers } from "../types/index.js";
3/**
4 * The ARIA label for the day button.
5 *
6 * Use the `modifiers` argument to add additional context to the label, e.g.
7 * when a day is selected or is today.
8 *
9 * @defaultValue The formatted date.
10 * @group Labels
11 * @see https://daypicker.dev/docs/translation#aria-labels
12 */
13export declare function labelDayButton(date: Date,
14/** The modifiers for the day. */
15modifiers: Modifiers, options?: LabelOptions,
16/** @ignore */
17dateLib?: DateLib): string;
18/** @deprecated Use `labelDayButton` instead. */
19export declare const labelDay: typeof labelDayButton;