diff --git a/components/checkbox/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/checkbox/__tests__/__snapshots__/demo-extend.test.ts.snap index 3be836d953..c54a484996 100644 --- a/components/checkbox/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/checkbox/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -165,6 +165,75 @@ Array [ exports[`renders components/checkbox/demo/controller.tsx extend context correctly 2`] = `[]`; +exports[`renders components/checkbox/demo/custom-line-width.tsx extend context correctly 1`] = ` +Array [ + , + , + , + , +] +`; + +exports[`renders components/checkbox/demo/custom-line-width.tsx extend context correctly 2`] = `[]`; + exports[`renders components/checkbox/demo/debug-disable-popover.tsx extend context correctly 1`] = `
Use with Grid
Same line
Disabled to show Tooltip
+customize lineWidth
## API
diff --git a/components/checkbox/index.zh-CN.md b/components/checkbox/index.zh-CN.md
index 0ee3ddd08d..6f3caf508f 100644
--- a/components/checkbox/index.zh-CN.md
+++ b/components/checkbox/index.zh-CN.md
@@ -27,6 +27,7 @@ demo:
布局
同行布局
禁用下的 Tooltip
+自定义 lineWidth
## API
diff --git a/components/checkbox/style/index.ts b/components/checkbox/style/index.ts
index 1695f774db..ae4a2dfc7c 100644
--- a/components/checkbox/style/index.ts
+++ b/components/checkbox/style/index.ts
@@ -96,9 +96,6 @@ export const genCheckboxStyle: GenerateStyle