Download src/hooks/useBasicLayout.ts from ID221183/gpt4ui: direct link, hf CLI and curl.
- Browser
- Download file 231 Bytes
-
https://huggingface.co/spaces/ID221183/gpt4ui/resolve/main/src/hooks/useBasicLayout.ts
- Command line
-
hf download hf://spaces/ID221183/gpt4ui/src/hooks/useBasicLayout.ts
-
curl -L -o useBasicLayout.ts https://huggingface.co/spaces/ID221183/gpt4ui/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 } | |
| } | |