UNPKG

@upv/react-ui-core

Version:

**USHI Design System — Modern UI Component Library**

8 lines (7 loc) 317 B
import { Breakpoint } from "../theme"; /** * Custom hook to check if the screen matches a given breakpoint * @param breakpoint "mobile" | "tablet" | "laptop" | "desktop" | "ultraWide" * @returns boolean - whether the media query matches */ export declare const useMediaQuery: (breakpoint: Breakpoint) => boolean;