Skip to main content

Type alias: NavButtonLabelFormatter#

Ƭ NavButtonLabelFormatter: (month?: Date, options?: { locale?: Locale }) => string

Represent a function to format the ARIA label for the "next month" / "prev month" buttons in the navigation.

Type declaration:#

▸ (month?: Date, options?: { locale?: Locale }): string

Parameters:#

NameType
month?Date
options?object
options.locale?Locale

Returns: string