UNPKG

@logicflow/react-node-registry

Version:

LogicFlow React Shape

17 lines (16 loc) 616 B
import React, { PureComponent } from 'react'; import { BaseNodeModel, GraphModel } from '@logicflow/core'; export interface IWrapperProps { node: BaseNodeModel; graph: GraphModel; } export interface IWrapperState { tick: number; } export declare class Wrapper extends PureComponent<IWrapperProps, IWrapperState> { constructor(props: IWrapperProps); componentDidMount(): void; clone(elem: React.ReactElement): React.ReactElement<any, string | React.JSXElementConstructor<any>>; render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null; } export default Wrapper;