You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
512 B
33 lines
512 B
6 years ago
|
---
|
||
|
order: 2
|
||
|
title:
|
||
|
zh-CN: 自定义
|
||
|
en-US: Customize
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
自定义图片、描述、附属内容。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Customize image, description and extra content.
|
||
|
|
||
|
```jsx
|
||
|
import { Empty, Button } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<Empty
|
||
|
image="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
|
||
|
description={
|
||
|
<span>
|
||
|
Customize <a href="#API">Description</a>
|
||
|
</span>
|
||
|
}
|
||
|
>
|
||
|
<Button type="primary">立即创建</Button>
|
||
|
</Empty>,
|
||
|
mountNode
|
||
|
);
|
||
|
```
|