mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
372 B
372 B
order | title | ||||
---|---|---|---|---|---|
4 |
|
zh-CN
标识开关操作仍在执行中。
en-US
Mark a pending state of switch.
import { Switch } from 'antd';
import React from 'react';
const App: React.FC = () => (
<>
<Switch loading defaultChecked />
<br />
<Switch size="small" loading />
</>
);
export default App;