UNPKG

dgz-ui

Version:

Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript

8 lines 299 B
/** * Custom hook to detect if the current viewport width is considered "mobile". * Uses a breakpoint of 768px. * * @returns {boolean} `true` if the viewport width is less than 768px, `false` otherwise. */ export declare function useIsMobile(): boolean; //# sourceMappingURL=use-mobile.d.ts.map