mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
1fc1710582
* split demos close #17396 * snapshot updated * split all demo * fix lint error * better code style * change complex to error * sort demos
379 B
379 B
order | title | ||||
---|---|---|---|---|---|
8 |
|
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,
);