UNPKG

@prezly/theme-kit-react

Version:

Data layer and utility library for developing Prezly themes with NextJS

11 lines (10 loc) 557 B
import type { Iso8601Date, Locale, Timezone, UnixTimestampInSeconds } from '@prezly/theme-kit-intl'; import type { TimeHTMLAttributes } from 'react'; export declare function BaseFormattedTime({ value, locale, timezone, ...attributes }: BaseFormattedTime.Props): import("react/jsx-runtime").JSX.Element; export declare namespace BaseFormattedTime { interface Props extends Omit<TimeHTMLAttributes<HTMLTimeElement>, 'dateTime'> { value: Date | Iso8601Date | UnixTimestampInSeconds; locale: Locale.Code; timezone: Timezone; } }