1.0.16 • Published 5 years ago
air-with-window-size v1.0.16
air-with-window-size
withWindowSize(ComponentToWrap)
Returns wrapped component plus windowWidth
and windowHeight
additional props referring to width and height window, as viewvport.
Includes documentWidth
and documentHeight
props referring to document width and height.
Includes componentWidth
and componentHeight
props referring to component width and height.
Props are updated every time a resize window event, filtered with a throttle, will occur.