PluginProbe
Tableberg – Simple Gutenberg Table Block / 0.0.2
Tableberg – Simple Gutenberg Table Block v0.0.2
1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 0.5.8 All 41 releases
tableberg / src / types.ts

types.ts in Tableberg – Simple Gutenberg Table Block 0.0.2, at src/types.ts

39 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 export interface SingleBorderTypes {
2 width?: string;
3 style?: string;
4 color?: string;
5 }
6 export interface BorderTypes {
7 top?: SingleBorderTypes;
8 right?: SingleBorderTypes;
9 bottom?: SingleBorderTypes;
10 left?: SingleBorderTypes;
11 }
12 export interface PaddingTypes {
13 top?: string;
14 right?: string;
15 bottom?: string;
16 left?: string;
17 }
18 export interface TablebergBlockAttrs {
19 rows: number;
20 cols: number;
21 hasTableCreated: boolean;
22 tableWidth: string;
23 enableTableHeader: boolean;
24 enableTableFooter: boolean;
25 tableAlignment: string;
26 cellPadding: PaddingTypes;
27 headerBackgroundColor: string | null;
28 headerBackgroundGradient: string | null;
29 evenRowBackgroundColor: string | null;
30 evenRowBackgroundGradient: string | null;
31 oddRowBackgroundColor: string | null;
32 oddRowBackgroundGradient: string | null;
33 footerBackgroundColor: string | null;
34 footerBackgroundGradient: string | null;
35 tableBorder: BorderTypes;
36 innerBorder: BorderTypes;
37 enableInnerBorder: boolean;
38 }
39