ant-design/components/descriptions/demo/vertical.md
2019-06-27 13:47:28 +08:00

32 lines
687 B
Markdown

---
order: 4
title:
zh-CN: 垂直
en-US: Vertical
---
## zh-CN
垂直的列表。
## en-US
Simplest Usage.
```jsx
import { Descriptions } from 'antd';
ReactDOM.render(
<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="Remark">empty</Descriptions.Item>
<Descriptions.Item label="Address">
No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
</Descriptions.Item>
</Descriptions>,
mountNode,
);
```