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

23 lines
345 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);
```