react style media query 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)