UNPKG

@redocly/theme

Version:

Shared UI components lib

15 lines (14 loc) 448 B
declare const FORMATS: { timeago: (date: Date, locale: string) => string; iso: (date: Date) => string; short: (date: Date, locale: string) => string; long: (date: Date, locale: string) => string; }; export type LastUpdatedProps = { lastModified: Date; format?: keyof typeof FORMATS; locale?: string; className?: string; }; export declare function LastUpdated(props: LastUpdatedProps): JSX.Element | null; export {};