UNPKG

@studio-lumio/hooks

Version:

a compilation of react hooks we use to make our magic

8 lines (7 loc) 317 B
/** * @name useMediaQuery * @description A React hook that detects whether a media query is true or false. * @param {string} queryString - The media query to test against. * @returns {boolean} - Whether the media query is true or false. */ export declare function useMediaQuery(queryString: string): any;