Hook to determine if current viewport is mobile-sized
Width threshold for mobile (default: 768)
True if viewport width is less than breakpoint
현재 뷰포트가 모바일 크기인지 확인하는 훅
const isMobile = useIsMobile();const isMobileCustom = useIsMobile(640); Copy
const isMobile = useIsMobile();const isMobileCustom = useIsMobile(640);
Hook to determine if current viewport is mobile-sized