/[sudobot]/branches/9.x-dev/docs/hooks/useIsMobile.ts
ViewVC logotype

Contents of /branches/9.x-dev/docs/hooks/useIsMobile.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (show annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: application/typescript
File size: 138 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 import { useMediaQuery } from "@mui/material";
2
3 export default function useIsMobile() {
4 return useMediaQuery("(max-width: 970px)");
5 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26