2025-11-13 13:13:34 -07:00

10 lines
269 B
TypeScript

import { Measurable } from '@radix-ui/rect';
/**
* Use this custom hook to get access to an element's rect (getBoundingClientRect)
* and observe it along time.
*/
declare function useRect(measurable: Measurable | null): ClientRect | undefined;
export { useRect };