2019-05-22 23:22:09 +08:00
|
|
|
---
|
|
|
|
order: 0
|
|
|
|
title:
|
|
|
|
zh-CN: 基本
|
|
|
|
en-US: Basic
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
简单的展示。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Simplest Usage.
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2019-05-22 23:22:09 +08:00
|
|
|
import { Descriptions } from 'antd';
|
2022-05-23 14:37:16 +08:00
|
|
|
import React from 'react';
|
2019-05-22 23:22:09 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2019-05-22 23:22:09 +08:00
|
|
|
<Descriptions title="User Info">
|
2019-05-27 21:32:45 +08:00
|
|
|
<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">
|
2019-05-22 23:22:09 +08:00
|
|
|
No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
|
2019-05-27 21:32:45 +08:00
|
|
|
</Descriptions.Item>
|
2022-04-03 23:27:45 +08:00
|
|
|
</Descriptions>
|
2019-05-22 23:22:09 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-05-22 23:22:09 +08:00
|
|
|
```
|