useIsMobile
A hook that checks if the window is mobile.
Window width: 0px
Is mobile: No
Installation
Install the following dependencies
Loading...
API Reference
Returned Props
| Prop | Type | Default | Description |
|---|---|---|---|
isMobile | boolean | - | Indicates if the window is mobile (width less than 768px). |