@raddix/use-media-query
v0.1.3
Published
Is a hook that respond to media query changes
Downloads
67
Maintainers
Readme
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.