UNPKG

@mirawision/reactive-hooks

Version:

A comprehensive collection of 50+ React hooks for state management, UI interactions, device APIs, async operations, drag & drop, audio/speech, and more. Full TypeScript support with SSR safety.

8 lines (7 loc) 279 B
/** * A hook that tracks whether a CSS media query matches. * Returns false during SSR for consistent rendering. * @param query CSS media query string * @returns boolean indicating if the media query matches */ export declare function useMediaQuery(query: string): boolean;