Skip to main content

Type alias: DateFormatter#

Ƭ DateFormatter: (date: Date, options?: { locale?: Locale }) => React.ReactNode

Represents a function to format a date.

Type declaration:#

▸ (date: Date, options?: { locale?: Locale }): React.ReactNode

Parameters:#

NameType
dateDate
options?object
options.locale?Locale

Returns: React.ReactNode