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