mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
441ba5f5d1
* fix: Select style without hash * fix: common style logic * fix: lint * fix: menu style * chore: update checkbox demo * chore: fix test * chore: rm test
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;
|