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.

4 lines (3 loc) 27 B
{ "extends": ["rooks"] }