media query in material ui makestyles code example
Example: adding media queries in makeStyle material react
const styles = theme => ({
root: {
backgroundColor: 'blue',
[theme.breakpoints.up('md')]: {
backgroundColor: 'red',
},
},
});