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