Add ability to toggle block border

This commit is contained in:
Jože Fortun
2023-02-10 11:42:29 +01:00
parent 3af167c1d6
commit ee392ecf16
7 changed files with 23 additions and 4 deletions
@@ -9,9 +9,14 @@ interface PageBlockStyleWrap {
kind: string;
}
interface PageBlockStyleBorder {
enabled?: boolean;
}
interface PageBlockStyle {
variants: PageBlockStyleVariants;
wrap?: PageBlockStyleWrap;
border?: PageBlockStyleBorder;
}
export type PageBlockInput = PageBlock | Partial<PageBlock>
@@ -36,6 +41,9 @@ export class PageBlock {
wrap: {
kind: 'card',
},
border: {
enabled: false,
},
}
constructor (i?: PageBlockInput) {