nextuiq
Version:
NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat
14 lines (13 loc) • 380 B
TypeScript
type Breakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
type Orientation = 'portrait' | 'landscape';
interface UseBreakpointReturn {
breakpoint: Breakpoint;
isMobile: boolean;
isTablet: boolean;
isDesktop: boolean;
width: number;
height: number;
orientation: Orientation;
}
export declare const useBreakpoint: () => UseBreakpointReturn;
export {};