useMediaQuery
A hook that checks if the media query matches.
Screen size matches: No
Installation
Install the following dependencies
Loading...
API Reference
Input Params
| Param | Type | Default | Description |
|---|---|---|---|
query | string | - | The media query to check. |
Returned Props
| Prop | Type | Default | Description |
|---|---|---|---|
isMatch | boolean | - | Indicates if the media query matches. |