You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
330 B
27 lines
330 B
7 years ago
|
---
|
||
|
order: 4
|
||
|
title:
|
||
|
zh-CN: 加载中
|
||
|
en-US: Loading
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
标识开关操作仍在执行中。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Mark a pending state of switch.
|
||
|
|
||
|
````jsx
|
||
|
import { Switch } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<Switch loading defaultChecked />
|
||
|
<br />
|
||
|
<Switch size="small" loading />
|
||
|
</div>
|
||
|
, mountNode);
|
||
|
````
|