Add ability to toggle block border
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user