ant-design/components/descriptions/demo/vertical.md

31 lines
688 B
Markdown
Raw Normal View History

2019-06-27 11:29:33 +08:00
---
order: 4
title:
zh-CN: 垂直
en-US: Vertical
---
## zh-CN
2019-06-27 13:47:28 +08:00
垂直的列表。
2019-06-27 11:29:33 +08:00
## en-US
Simplest Usage.
```jsx
import { Descriptions } from 'antd';
export default () => (
2019-06-27 11:29:33 +08:00
<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}>
2019-06-27 11:29:33 +08:00
No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
</Descriptions.Item>
<Descriptions.Item label="Remark">empty</Descriptions.Item>
</Descriptions>
2019-06-27 11:29:33 +08:00
);
```