@dotcms/react
Version:
Official React Components library to render a dotCMS page.
17 lines (14 loc) • 339 B
JavaScript
"use client";
import { createContext } from 'react';
/**
* The `PageContext` is a React context that provides access to the DotCMS page context.
*
* @category Contexts
*/
const DotCMSPageContext = /*#__PURE__*/createContext({
pageAsset: {},
mode: 'production',
userComponents: {},
slots: {}
});
export { DotCMSPageContext };