ant-design/components/result/demo/customIcon.md
二货机器人 64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00

404 B

order title
8
zh-CN en-US
自定义 icon Custom icon

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,
);