Type alias: DateFormatter
Ƭ DateFormatter: (date: Date, options?: { locale?: Locale }) => ReactNode
▸ (date, options?): ReactNode
Represents a function to format a date.
| Name | Type |
|---|
date | Date |
options? | Object |
options.locale? | Locale |
ReactNode
src/types/Formatters.ts:6