air-with-window-size

1.0.16 • Public • Published

air-with-window-size

Travis npm package Coveralls

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.

/air-with-window-size/

    Package Sidebar

    Install

    npm i air-with-window-size

    Weekly Downloads

    5

    Version

    1.0.16

    License

    MIT

    Unpacked Size

    11 kB

    Total Files

    4

    Last publish

    Collaborators

    • afelicioni