UNPKG

@dotcms/react

Version:

Official React Components library to render a dotCMS page.

15 lines (14 loc) 618 B
import { ReactNode } from 'react'; export interface PageProviderProps { readonly pageContext: any; readonly children: ReactNode; } /** * `PageProvider` is a functional component that provides a context for a DotCMS page. * It takes a `PageProviderProps` object as a parameter and returns a JSX element. * * @category Components * @param {PageProviderProps} props - The properties for the PageProvider. Includes an `entity` and `children`. * @returns {JSX.Element} - A JSX element that provides a context for a DotCMS page. */ export declare function PageProvider(props: PageProviderProps): JSX.Element;