mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 00:08:27 +08:00
29 lines
498 B
TypeScript
29 lines
498 B
TypeScript
|
import React from 'react';
|
||
|
import { Col, Row } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Row>
|
||
|
<Col span={8}>col-8</Col>
|
||
|
<Col span={8} offset={8}>
|
||
|
col-8
|
||
|
</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col span={6} offset={6}>
|
||
|
col-6 col-offset-6
|
||
|
</Col>
|
||
|
<Col span={6} offset={6}>
|
||
|
col-6 col-offset-6
|
||
|
</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col span={12} offset={6}>
|
||
|
col-12 col-offset-6
|
||
|
</Col>
|
||
|
</Row>
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|