mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
64b905e9bd
* update icons deps * update all icon ref * fix lint * update snapshot
404 B
404 B
order | title | ||||
---|---|---|---|---|---|
8 |
|
zh-CN
自定义 icon。
en-US
Custom icon.
import { Result, Button } from 'antd';
import { SmileOutlined } from '@ant-design/icons';
ReactDOM.render(
<Result
icon={<SmileOutlined />}
title="Great, we have done all the operations!"
extra={<Button type="primary">Next</Button>}
/>,
mountNode,
);