UNPKG

@matthewgapp/solidjs-flow

Version:

React Flow - A highly customizable React library for building node-based editors and interactive flow charts.

14 lines 593 B
import type { InternalNode } from '../../types'; /** * Hook to handle the resize observation + internal updates for the passed node. * * @internal * @returns nodeRef - reference to the node element */ export declare function useNodeObserver({ node: getNode, nodeType: getNodeType, hasDimensions, resizeObserver: getResizeObserver, }: { node: () => InternalNode; nodeType: () => string; hasDimensions: () => boolean; resizeObserver: () => ResizeObserver | null; }): import("../../utils/hooks").RefObject<HTMLDivElement | null>; //# sourceMappingURL=useNodeObserver.d.ts.map