ant-design/components/spin/demo/custom-indicator.md
2019-05-07 14:57:32 +08:00

345 B

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

zh-CN

使用自定义指示符。

en-US

Use custom loading indicator.

import { Spin, Icon } from 'antd';

const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;

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