mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:51:48 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
31 lines
658 B
Markdown
31 lines
658 B
Markdown
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 基本
|
|
en-US: Basic
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
简单的展示。
|
|
|
|
## en-US
|
|
|
|
Simplest Usage.
|
|
|
|
```jsx
|
|
import { Descriptions } from 'antd';
|
|
|
|
export default () => (
|
|
<Descriptions title="User Info">
|
|
<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>
|
|
);
|
|
```
|