Skip to main content

Type Alias: Labels

Labels: {labelDay: typeof labelDayButton;labelDayButton: typeof labelDayButton;labelGrid: typeof labelGrid;labelGridcell: typeof labelGridcell;labelMonthDropdown: typeof labelMonthDropdown;labelNav: typeof labelNav;labelNext: typeof labelNext;labelPrevious: typeof labelPrevious;labelWeekday: typeof labelWeekday;labelWeekNumber: typeof labelWeekNumber;labelWeekNumberHeader: typeof labelWeekNumberHeader;labelYearDropdown: typeof labelYearDropdown; }

Map of functions to translate ARIA labels for the relative elements.

Type declaration​

NameTypeDescription
labelDaytypeof labelDayButtonDeprecated Use labelDayButton instead.
labelDayButtontypeof labelDayButtonThe label for the day button.
labelGridtypeof labelGridThe label for the month grid.
labelGridcelltypeof labelGridcellThe label for the gridcell, when the calendar is not interactive.
labelMonthDropdowntypeof labelMonthDropdownThe label for the month dropdown.
labelNavtypeof labelNavThe label for the navigation toolbar.
labelNexttypeof labelNextThe label for the "next month" button.
labelPrevioustypeof labelPreviousThe label for the "previous month" button.
labelWeekdaytypeof labelWeekdayThe label for the weekday.
labelWeekNumbertypeof labelWeekNumberThe label for the week number.
labelWeekNumberHeadertypeof labelWeekNumberHeaderReturn the label for the column of the week number. Since 9.0.0
labelYearDropdowntypeof labelYearDropdownThe label for the year dropdown.

Defined in​

src/types/shared.ts:133