@acusti/use-bounding-client-rect
Version:
React hook that returns the boundingClientRect for an element and triggers an update when those dimensions change
15 lines (14 loc) • 306 B
TypeScript
React hook that returns the boundingClientRect for an element and triggers an update when those dimensions change