feat: control default style #340

This commit is contained in:
Hufe921
2024-04-14 14:48:30 +08:00
parent de06f6cc9b
commit eee22363d3
7 changed files with 89 additions and 21 deletions
+12 -1
View File
@@ -52,10 +52,21 @@ export interface IControlBasic {
indentation?: ControlIndentation
}
export interface IControlStyle {
font?: string
size?: number
bold?: boolean
color?: string
highlight?: string
italic?: boolean
strikeout?: boolean
}
export type IControl = IControlBasic &
IControlRule &
Partial<IControlSelect> &
Partial<IControlCheckbox>
Partial<IControlCheckbox> &
Partial<IControlStyle>
export interface IControlOption {
placeholderColor?: string