UNPKG

@prezly/theme-kit-ui

Version:
14 lines (13 loc) 541 B
import type { ExtendedStory } from '@prezly/sdk'; import type { Node } from '@prezly/story-content-format'; import type { PropsWithChildren } from 'react'; import { Attachment } from './components'; export declare function ContentRenderer({ nodes, story, intl }: ContentRenderer.Props): import("react/jsx-runtime").JSX.Element; export declare namespace ContentRenderer { type Intl = Attachment.Intl; type Props = PropsWithChildren<{ story: ExtendedStory; nodes: Node | Node[]; intl?: Partial<Intl>; }>; }