mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
24 lines
396 B
TypeScript
24 lines
396 B
TypeScript
|
import React from 'react';
|
||
|
import { Checkbox, ConfigProvider } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<ConfigProvider
|
||
|
theme={{
|
||
|
components: {
|
||
|
Checkbox: {
|
||
|
lineWidth: 6,
|
||
|
},
|
||
|
},
|
||
|
}}
|
||
|
>
|
||
|
<Checkbox checked />
|
||
|
<Checkbox />
|
||
|
</ConfigProvider>
|
||
|
<Checkbox checked />
|
||
|
<Checkbox />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|