react-day-picker
Version:
Customizable Date Picker for React
17 lines (15 loc) • 427 B
text/typescript
import type { LabelOptions } from "../lib/dateLib.js";
/**
* The ARIA label for previous month button.
*
* @defaultValue `"Go to the Previous Month"`
* @group Labels
* @see https://daypicker.dev/docs/translation#aria-labels
*/
export function labelPrevious(
/** Undefined where there's no previous month no navigate to. */
month: Date | undefined,
options?: LabelOptions
) {
return "Go to the Previous Month";
}