@Media dla CSS w stylu react

const mediaMatch = window.matchMedia('(min-width: 500px)');

console.log(mediaMatch.matches)
Dayanaohhnana