UNPKG

tanuki-ui

Version:

HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor

10 lines (9 loc) 292 B
import * as React from "react"; type BoundingRect = { x: number; y: number; height: number; width: number; }; export declare const useMeasure: <T extends HTMLElement = HTMLElement>(ref: React.RefObject<T | null>) => readonly [BoundingRect | undefined, () => void]; export {};