UNPKG

@rooks/use-boundingclientrect-ref

Version:

A hook that tracks the boundingclientrect of an element. It returns a callbackRef so that the element node if changed is easily tracked.

13 lines (11 loc) 202 B
{ "extends": "../tsconfig_independent.settings.json", "include": [ "./src/index.ts", "../shared/**/*.ts", ], "compilerOptions": { "rootDir": "../", "outDir": "./lib", } }