@prezly/theme-kit-react
Version:
Data layer and utility library for developing Prezly themes with NextJS
11 lines (10 loc) • 557 B
TypeScript
import type { Iso8601Date, Locale, Timezone, UnixTimestampInSeconds } from '@prezly/theme-kit-intl';
import type { TimeHTMLAttributes } from 'react';
export declare function BaseFormattedDate({ value, locale, timezone, ...attributes }: BaseFormattedDate.Props): import("react/jsx-runtime").JSX.Element;
export declare namespace BaseFormattedDate {
interface Props extends Omit<TimeHTMLAttributes<HTMLTimeElement>, 'dateTime'> {
value: Date | Iso8601Date | UnixTimestampInSeconds;
locale: Locale.Code;
timezone: Timezone;
}
}