react-day-picker
Version:
Customizable Date Picker for React
14 lines (13 loc) • 433 B
text/typescript
/**
* 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: Date | undefined) {
return "Go to the Next Month";
}