mirror of https://github.com/ANL-CEEESA/RELOG.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
523 B
14 lines
523 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, nodeType, hasDimensions, resizeObserver, }: {
|
|
node: InternalNode;
|
|
nodeType: string;
|
|
hasDimensions: boolean;
|
|
resizeObserver: ResizeObserver | null;
|
|
}): import("react").MutableRefObject<HTMLDivElement | null>;
|
|
//# sourceMappingURL=useNodeObserver.d.ts.map
|