react-day-picker
Version:
Customizable Date Picker for React
15 lines (14 loc) • 463 B
JavaScript
const defaultLabel = "Go to the Next Month";
/**
* Generates the ARIA label for the "next month" button.
*
* @defaultValue `"Go to the Next Month"`
* @param month - The date representing the next month, or `undefined` if there
* is no next month.
* @returns The ARIA label for the "next month" button.
* @group Labels
* @see https://daypicker.dev/docs/translation#aria-labels
*/
export function labelNext(_month, _options) {
return defaultLabel;
}