Antd Grid Code Example
Example 1: responsive grid using antd
import 'antd/dist/antd.css'; import { Row, Col } from 'antd'; <Row> <Col xs={24} xl={8}> One of three columns </Col> <Col xs={24} xl={8}> One of three columns </Col> <Col xs={24} xl={8}> One of three columns </Col> </Row>
Example 2: antd grid
{ xs: '480px', sm: '768px', md: '992px', lg: '1200px', xl: '1600px', }
Comments
Post a Comment