@dotcms/react
Version:
Official React Components library to render a dotCMS page.
25 lines (24 loc) • 836 B
TypeScript
import { DotContainerAttributes } from '@dotcms/types/internal';
/**
* @internal
*
* Component to display when a container is not found in the system.
* Only renders in development mode for debugging purposes.
*
* @component
* @param {Object} props - Component properties
* @param {string} props.identifier - Container identifier
* @returns {JSX.Element | null} Message about missing container or null in production
*/
export declare const ContainerNotFound: ({ identifier }: {
identifier: string;
}) => import("react/jsx-runtime").JSX.Element | null;
/**
* @internal
*
* Component to display when a container is empty.
*
* @param {DotContainerAttributes} dotAttributes
* @return {*}
*/
export declare const EmptyContainer: (dotAttributes: DotContainerAttributes) => import("react/jsx-runtime").JSX.Element | null;