UNPKG

@dotcms/react

Version:

Official React Components library to render a dotCMS page.

11 lines (10 loc) 389 B
/** * @internal * A React hook that determines if the current environment is in development mode. * * The hook returns `true` if either: * - The application is running inside the DotCMS editor (as determined by `getUVEState()`). * * @returns {boolean} - `true` if in development mode or inside the editor; otherwise, `false`. */ export declare const useIsDevMode: () => boolean;