UNPKG

@dotcms/react

Version:

Official React Components library to render a dotCMS page.

42 lines (41 loc) 1.12 kB
import { DotContentProps } from '../../../models/content-node.interface'; export interface Contentlet { hostName: string; modDate: string; publishDate: string; title: string; baseType: string; inode: string; archived: boolean; ownerName: string; host: string; working: boolean; locked: boolean; stInode: string; contentType: string; live: boolean; owner: string; identifier: string; publishUserName: string; publishUser: string; languageId: number; creationDate: string; url: string; titleImage: string; modUserName: string; hasLiveVersion: boolean; folder: string; hasTitleImage: boolean; sortOrder: number; modUser: string; __icon__: string; contentTypeIcon: string; variant: string; } /** * Renders a DotContent component. * * @param {DotContentProps} props - The props for the DotContent component. * @returns {JSX.Element} The rendered DotContent component. */ export declare const DotContent: ({ customRenderers, ...props }: DotContentProps) => import("react/jsx-runtime").JSX.Element;