I'm trying to hide some columns on certain breakpoints, like this:
<Grid container>
<Grid item sm={1} md={0} />
<Grid item sm={10} md={12}>
{/* some content goes here */}
</Grid>
<Grid item sm={1} md={0} />
</Grid>
So in this example first and last columns should not show on medium breakpoint and bigger. I wrote md={0}
, but that's not a correct code.
Does anyone know the correct way of doing that?