ant-design/components/empty/demo/simple.md
DiamondYuan 972840e74d feat: Improve Empty component (#15444)
* feat: empty support imageSize prop

* docs: update demo for empty component

* docs: update docs for empty component

* test: update snapshot of empty component demo

* feat: empty component support use simple image

* docs: update demo for component empty

* docs: update doc for empyt component

* docs: add absence of a space for demo of empty component
2019-03-18 12:01:38 +08:00

347 B

order title
1
zh-CN en-US
选择图片 Chose image

zh-CN

可以通过设置 image 为 'simple' 选择另一种风格的图片。

en-US

You can choose another style of image by setting image to 'simple'.

import { Empty } from 'antd';

ReactDOM.render(
  <Empty image="simple" imageSize={40} />,
  mountNode
);