Spaces:
Paused
Paused
Download src/hooks/useBasicLayout.ts from imseldrith/chatgpt-web: direct link, hf CLI and curl.
- Browser
- Download file 231 Bytes
-
https://huggingface.co/spaces/imseldrith/chatgpt-web/resolve/main/src/hooks/useBasicLayout.ts
- Command line
-
hf download hf://spaces/imseldrith/chatgpt-web/src/hooks/useBasicLayout.ts
-
curl -L -o useBasicLayout.ts https://huggingface.co/spaces/imseldrith/chatgpt-web/resolve/main/src/hooks/useBasicLayout.ts
231 Bytes
| import { breakpointsTailwind, useBreakpoints } from '@vueuse/core' | |
| export function useBasicLayout() { | |
| const breakpoints = useBreakpoints(breakpointsTailwind) | |
| const isMobile = breakpoints.smaller('sm') | |
| return { isMobile } | |
| } | |