mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
13 lines
209 B
TypeScript
13 lines
209 B
TypeScript
|
import React from 'react';
|
||
|
import { Switch } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Switch loading defaultChecked />
|
||
|
<br />
|
||
|
<Switch size="small" loading />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|