react-day-picker
Version:
Customizable Date Picker for React
17 lines (16 loc) • 555 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.labelPrevious = labelPrevious;
/**
* 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
*/
function labelPrevious(_month) {
return "Go to the Previous Month";
}