9 lines
283 B
TypeScript
9 lines
283 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.
|
|
*/
|
|
export function useRect(measurable: Measurable | null): ClientRect | undefined;
|
|
|
|
//# sourceMappingURL=index.d.ts.map
|