ant-design/components/switch/demo/loading.md
2019-05-07 14:57:32 +08:00

331 B

order title
4
zh-CN en-US
加载中 Loading

zh-CN

标识开关操作仍在执行中。

en-US

Mark a pending state of switch.

import { Switch } from 'antd';

ReactDOM.render(
  <div>
    <Switch loading defaultChecked />
    <br />
    <Switch size="small" loading />
  </div>,
  mountNode,
);