UNPKG

@logicflow/react-node-registry

Version:

LogicFlow React Shape

14 lines (13 loc) 499 B
import { Root } from 'react-dom/client'; import { HtmlNode } from '@logicflow/core'; export declare class ReactNodeView extends HtmlNode { root?: Root; protected targetId(): string; componentWillUnmount(): void; setHtml(rootEl: SVGForeignObjectElement): void; confirmUpdate(_rootEl: SVGForeignObjectElement): void; protected renderReactComponent(container: HTMLElement): void; protected unmountReactComponent(): void; unmount(): void; } export default ReactNodeView;