ant-design/components/spin/demo/custom-indicator.md
偏右 bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00

23 lines
347 B
Markdown

---
order: 6
title:
zh-CN: 自定义指示符
en-US: Custom spinning indicator
---
## zh-CN
使用自定义指示符。
## en-US
Use custom loading indicator.
````jsx
import { Spin, Icon } from 'antd';
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
ReactDOM.render(<Spin indicator={antIcon} />, mountNode);
````