14 lines
446 B
JavaScript
14 lines
446 B
JavaScript
/**
|
|
* Generates the ARIA label for the "previous month" button.
|
|
*
|
|
* @defaultValue `"Go to the Previous Month"`
|
|
* @param month - The date representing the previous month, or `undefined` if
|
|
* there is no previous month.
|
|
* @returns The ARIA label for the "previous month" button.
|
|
* @group Labels
|
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
*/
|
|
export function labelPrevious(_month) {
|
|
return "Go to the Previous Month";
|
|
}
|