feat:add checkbox particle

This commit is contained in:
Hufe921
2022-04-12 22:13:22 +08:00
parent 847207fa64
commit 2ed77cd4dc
9 changed files with 95 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
import { ICheckboxOption } from '../../interface/Checkbox'
export const defaultCheckboxOption: Readonly<Required<ICheckboxOption>> = {
width: 14,
height: 14,
gap: 5
}
+2 -1
View File
@@ -7,5 +7,6 @@ export enum ElementType {
SUBSCRIPT = 'subscript',
SEPARATOR = 'separator',
PAGE_BREAK = 'pageBreak',
CONTROL = 'control'
CONTROL = 'control',
CHECKBOX = 'checkbox'
}