how to use media in react styling 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)