ant-design/components/result/demo/customIcon.md
陈帅 1fc1710582
doc: split demos (#17415)
* split demos

close #17396

* snapshot updated

* split all demo

* fix lint error

* better code style

* change complex to error

* sort demos
2019-07-04 15:14:13 +08:00

379 B

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

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