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.

36 lines
625 B

---
order: 2
title:
zh-CN: 自定义
en-US: Customize
---
## zh-CN
自定义图片链接、图片大小、描述、附属内容。
## en-US
Customize image source, image size, description and extra content.
```jsx
import { Empty, Button } from 'antd';
ReactDOM.render(
<Empty
6 years ago
image="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"
imageStyle={{
height: 60,
}}
description={
<span>
Customize <a href="#API">Description</a>
</span>
}
>
6 years ago
<Button type="primary">Create Now</Button>
</Empty>,
mountNode,
);
```