I'm using ant.design with React.js, and I've set my column to have a span of 24 when the screen size is less than 768 pixels:
<Col
xs={{ span: 24 }}
sm={{ span: 24 }}
md={{ span: undefined }}
lg={{ span: default }}
xl={{ span: none }}
>
But when the screen size is greater than 768 pixels, I don't want to have to define the span (I want the column to take as little space as necessary). If I don't write include md, lg, and xl, they automatically take on the span of sm. I've tried setting span to undefined, default, and none, but none of them work. I looked at the ant.design API, but it just said the default was none.
Any help would be appreciated. :)