2019-06-27 11:29:33 +08:00
|
|
|
---
|
|
|
|
order: 5
|
|
|
|
title:
|
|
|
|
zh-CN: 垂直带边框的
|
|
|
|
en-US: Vertical border
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
2019-06-27 13:47:28 +08:00
|
|
|
垂直带边框和背景颜色的列表。
|
2019-06-27 11:29:33 +08:00
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Descriptions with border and background color.
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2022-05-23 14:37:16 +08:00
|
|
|
import { Badge, Descriptions } from 'antd';
|
2022-05-19 09:46:26 +08:00
|
|
|
import React from 'react';
|
2019-06-27 11:29:33 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2019-06-27 11:29:33 +08:00
|
|
|
<Descriptions title="User Info" layout="vertical" bordered>
|
|
|
|
<Descriptions.Item label="Product">Cloud Database</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Billing Mode">Prepaid</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Automatic Renewal">YES</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Order time">2018-04-24 18:00:00</Descriptions.Item>
|
2019-10-08 10:17:08 +08:00
|
|
|
<Descriptions.Item label="Usage Time" span={2}>
|
2019-06-27 11:29:33 +08:00
|
|
|
2019-04-24 18:00:00
|
|
|
|
</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Status" span={3}>
|
|
|
|
<Badge status="processing" text="Running" />
|
|
|
|
</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Negotiated Amount">$80.00</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Discount">$20.00</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Official Receipts">$60.00</Descriptions.Item>
|
|
|
|
<Descriptions.Item label="Config Info">
|
|
|
|
Data disk type: MongoDB
|
|
|
|
<br />
|
|
|
|
Database version: 3.4
|
|
|
|
<br />
|
|
|
|
Package: dds.mongo.mid
|
|
|
|
<br />
|
|
|
|
Storage space: 10 GB
|
|
|
|
<br />
|
2019-11-06 10:42:10 +08:00
|
|
|
Replication factor: 3
|
2019-06-27 11:29:33 +08:00
|
|
|
<br />
|
|
|
|
Region: East China 1<br />
|
|
|
|
</Descriptions.Item>
|
2022-04-03 23:27:45 +08:00
|
|
|
</Descriptions>
|
2019-06-27 11:29:33 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-06-27 11:29:33 +08:00
|
|
|
```
|