/[sudobot]/trunk/docs/hooks/useIsMobile.ts
ViewVC logotype

Contents of /trunk/docs/hooks/useIsMobile.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 575 - (show annotations)
Mon Jul 29 17:59:26 2024 UTC (8 months ago) by rakinar2
File MIME type: application/typescript
File size: 138 byte(s)
chore: add trunk
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