UNPKG

react-day-picker

Version:

Customizable Date Picker for React

13 lines (12 loc) 381 B
/** * Generates the ARIA label for the years dropdown. * * @defaultValue `"Choose the Year"` * @param options - Optional configuration for the date formatting library. * @returns The ARIA label for the years dropdown. * @group Labels * @see https://daypicker.dev/docs/translation#aria-labels */ export function labelYearDropdown(_options) { return "Choose the Year"; }