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
+6
View File
@@ -1,6 +1,7 @@
import { ControlComponent } from '../dataset/enum/Control'
import { ElementType } from '../dataset/enum/Element'
import { RowFlex } from '../dataset/enum/Row'
import { ICheckbox } from './Checkbox'
import { IControl } from './Control'
import { IColgroup } from './table/Colgroup'
import { ITr } from './table/Tr'
@@ -59,6 +60,10 @@ export interface IControlElement {
controlComponent?: ControlComponent;
}
export interface ICheckboxElement {
checkbox?: ICheckbox;
}
export type IElement = IElementBasic
& IElementStyle
& ITable
@@ -66,6 +71,7 @@ export type IElement = IElementBasic
& ISuperscriptSubscript
& ISeparator
& IControlElement
& ICheckboxElement
export interface IElementMetrics {
width: number;