ant-design/components/spin/demo/custom-indicator.md

23 lines
345 B
Markdown
Raw Normal View History

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