@render-props/rect

v0.1.16
A state container which provides an interface for retrieving the bounding client rect of a referenced element. The bounding client rect will update each time the window resizes - a behavior which can be turned off by setting the prop `recalcOnWindowResize
react render props function as child hoc state container rect domrect getBoundingClientRect size and 3 more...

npm i @render-props/[email protected]

Metadata

  • MIT
  • Whatever
  • Jared Lunde
  • released 8/21/2018

Downloads

Maintainers