@render-props/rect

@render-props/rect JS library on GitHub @render-props/rect JS library on npm Download @render-props/rect JS library

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

Version 0.1.22 License MIT
@render-props/rect has no homepage
@render-props/rect JS library on GitHub
@render-props/rect JS library on npm
Download @render-props/rect JS library
Keywords
reactrender propsfunction as childhocstate containerrectdomrectgetBoundingClientRectsizewidthheight