mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 07:39:10 +08:00
bdceb5f083
* Fix style * Fix style * fix lint * Fix more styles * Fix more styles * update snap
23 lines
347 B
Markdown
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);
|
|
````
|