@mmcodemark/fuselage-hooks
Version:
React hooks for Fuselage, Rocket.Chat's design system and UI toolkit
9 lines • 320 B
TypeScript
/**
* Hook to listen to a media query.
*
* @param query - the CSS3 media query expression
* @returns `true` if the media query matches; `false` is it does not match or the query is not defined
* @public
*/
export declare const useMediaQuery: (query?: string) => boolean;
//# sourceMappingURL=useMediaQuery.d.ts.map