react media query style code example
Example: @media for react style css
const mediaMatch = window.matchMedia('(min-width: 500px)');
console.log(mediaMatch.matches)
const mediaMatch = window.matchMedia('(min-width: 500px)');
console.log(mediaMatch.matches)