react-day-picker
Version:
Customizable Date Picker for React
16 lines (14 loc) • 378 B
text/typescript
import type { LabelOptions } from "../lib/dateLib.js";
/**
* The ARIA label for the week number cell (the first cell in the row).
*
* @defaultValue `Week ${weekNumber}`
* @group Labels
* @see https://daypicker.dev/docs/translation#aria-labels
*/
export function labelWeekNumber(
weekNumber: number,
options?: LabelOptions
): string {
return `Week ${weekNumber}`;
}