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