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