mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +08:00
12db87449b
* style: fix Checkbox style when customize token.lineWidth * test: update snapshot
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;
|