15 lines
720 B
TypeScript
15 lines
720 B
TypeScript
import { DateLib, type DateLibOptions } from "../classes/DateLib.js";
|
|
import type { Modifiers } from "../types/index.js";
|
|
/**
|
|
* Generates the label for a day grid cell when the calendar is not interactive.
|
|
*
|
|
* @param date - The date to format.
|
|
* @param modifiers - Optional modifiers providing context for the day.
|
|
* @param options - Optional configuration for the date formatting library.
|
|
* @param dateLib - An optional instance of the date formatting library.
|
|
* @returns The label for the day grid cell.
|
|
* @group Labels
|
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
*/
|
|
export declare function labelGridcell(date: Date, modifiers?: Modifiers, options?: DateLibOptions, dateLib?: DateLib): string;
|