@raddix/use-media-query
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

useMediaQuery

The useMediaQuery hook is used to match the current viewport against a media query. Use the matchMedia API to subscribe to media query changes and return the current match state.

Please refer to the documentation for more information.

Dependents (0)

Package Sidebar

Install

npm i @raddix/use-media-query

Weekly Downloads

14

Version

0.1.3

License

MIT

Unpacked Size

5.41 kB

Total Files

6

Last publish

Collaborators

  • immois