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