mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
34 lines
743 B
Markdown
34 lines
743 B
Markdown
---
|
|
order: 4
|
|
title:
|
|
zh-CN: 垂直
|
|
en-US: Vertical
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
垂直的列表。
|
|
|
|
## en-US
|
|
|
|
Simplest Usage.
|
|
|
|
```tsx
|
|
import { Descriptions } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<Descriptions title="User Info" layout="vertical">
|
|
<Descriptions.Item label="UserName">Zhou Maomao</Descriptions.Item>
|
|
<Descriptions.Item label="Telephone">1810000000</Descriptions.Item>
|
|
<Descriptions.Item label="Live">Hangzhou, Zhejiang</Descriptions.Item>
|
|
<Descriptions.Item label="Address" span={2}>
|
|
No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
|
|
</Descriptions.Item>
|
|
<Descriptions.Item label="Remark">empty</Descriptions.Item>
|
|
</Descriptions>
|
|
);
|
|
|
|
export default App;
|
|
```
|