UNPKG

@cmk/fe_utils

Version:
19 lines (17 loc) 755 B
import { PropsWithChildren } from 'react'; import { EditorStateType, Element } from '../types'; import { EditorRendererControllerType } from '../types/editorRendererController'; export type ElementBoxProps = { element: Element; editorState: EditorStateType; appController: EditorRendererControllerType['appController']; onSelectElement: (element: Element, isHovering: boolean) => void; isProduction?: boolean; isPointerProduction?: boolean; navigate: (to: string) => void; events: { [key: string]: ((...fnParams: unknown[]) => void) | undefined; }; rootCompositeElementId?: string; }; export declare const ElementBox: (props: PropsWithChildren<ElementBoxProps>) => import("react/jsx-runtime").JSX.Element;