mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 07:28:28 +08:00
64b905e9bd
* update icons deps * update all icon ref * fix lint * update snapshot
24 lines
388 B
Markdown
24 lines
388 B
Markdown
---
|
|
order: 6
|
|
title:
|
|
zh-CN: 自定义指示符
|
|
en-US: Custom spinning indicator
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
使用自定义指示符。
|
|
|
|
## en-US
|
|
|
|
Use custom loading indicator.
|
|
|
|
```jsx
|
|
import { Spin } from 'antd';
|
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
|
|
const antIcon = <LoadingOutlined style={{ fontSize: 24 }} spin />;
|
|
|
|
ReactDOM.render(<Spin indicator={antIcon} />, mountNode);
|
|
```
|