@prezly/theme-kit-ui
Version:
UI components for Prezly themes
10 lines (9 loc) • 406 B
TypeScript
import type { Culture } from '@prezly/sdk';
export declare function StoryPublicationDate({ publishedAt, locale: currentLocale, dateFormat, }: StoryPublicationDate.Props): import("react/jsx-runtime").JSX.Element | null;
export declare namespace StoryPublicationDate {
interface Props {
publishedAt?: string | number | null;
locale?: Culture['code'];
dateFormat?: string;
}
}