mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
6 lines
173 B
TypeScript
6 lines
173 B
TypeScript
import { useBreakpointValue } from '@chakra-ui/react';
|
|
|
|
export default function useIsMobile(ssr = true) {
|
|
return useBreakpointValue({ base: true, lg: false }, { ssr });
|
|
}
|