React hook to respond to media queries
npm i @hooks/media-queryuseMediaQuery(query: string, fallback = false): booleanA string representing the media query to parse.
The initial match state, defaults to false.
Returns true if the document currently matches the media query list, false if not.