How to use the @react-hook/window-size.useWindowHeight function in @react-hook/window-size

To help you get started, we’ve selected a few @react-hook/window-size examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github liaisonjs / liaison / website / frontend / src / models / ui.js View on Github external
@view() FullHeight({...props}) {
    const height = useWindowHeight(600);

    return <div>;
  }
</div>

@react-hook/window-size

React hooks for updating components when the size of the `window` changes.

MIT
Latest version published 2 years ago

Package Health Score

66 / 100
Full package analysis

Popular @react-hook/window-size functions