react-day-picker / src /labels /labelPrevious.ts
AbdulElahGwaith's picture
Upload folder using huggingface_hub
cf86710 verified
/**
* 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: Date | undefined) {
return "Go to the Previous Month";
}