Initial commit
This commit is contained in:
9
node_modules/@radix-ui/react-use-rect/dist/index.d.ts
generated
vendored
Normal file
9
node_modules/@radix-ui/react-use-rect/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user