mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +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,
);