mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
4972383c3c
* New Components Result antd 又变大了一点 * fix review warning remove classname "view" The class name of status hits the outermost layer * rm fragment * fix build error * update snapshot * add PRESENTED_SVG_DEFAULT * fix doc * fix lint * fix compile error * fix review warning * fix react15 error * add new demo * remove not required code * updated snapshot * api some empty * change svg to image
379 B
379 B
order | title | ||||
---|---|---|---|---|---|
2 |
|
zh-CN
自定义 icon。
en-US
Custom icon.
import { Result, Icon, Button } from 'antd';
ReactDOM.render(
<Result
icon={<Icon type="smile" theme="twoTone" />}
title="Great, we have done all the operations!"
extra={<Button type="primary">Next</Button>}
/>,
mountNode,
);