ant-design/components/spin/demo/custom-indicator.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

388 B

order title
6
zh-CN en-US
自定义指示符 Custom spinning indicator

zh-CN

使用自定义指示符。

en-US

Use custom loading indicator.

import { Spin } from 'antd';
import { LoadingOutlined } from '@ant-design/icons';

const antIcon = <LoadingOutlined style={{ fontSize: 24 }} spin />;

ReactDOM.render(<Spin indicator={antIcon} />, mountNode);