UNPKG

@enonic/react-components

Version:

Library of React components for handling Enonic XP data and page components

11 lines (10 loc) 560 B
import type { LiteralUnion, Region } from '@enonic-types/core'; import type { ClassValue } from 'clsx'; import type { ComponentRegistry } from './ComponentRegistry'; export declare function Page({ as, children, className, componentRegistry, regions, ...extraProps }: Omit<React.HTMLAttributes<HTMLElement>, 'className'> & { as?: LiteralUnion<keyof JSX.IntrinsicElements>; children?: React.ReactNode; className?: ClassValue; componentRegistry: ComponentRegistry; regions: Record<string, Region>; }): import("react/jsx-runtime").JSX.Element;