dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
21 lines (20 loc) • 645 B
TypeScript
import { DMEData } from '../../core/types';
type TableValue = any[][];
export type BorderType = 'none' | 'rowBorder' | 'border';
export interface EntityTableBlock {
value: TableValue;
settings: {
borderType?: BorderType;
padding?: number;
borderColor?: string;
color?: string;
oddRowBackground?: string;
hasHeader?: boolean;
headerIsBold?: boolean;
headerAlign?: 'left' | 'center' | 'right';
headerBackground?: string;
general?: DMEData.GeneralSettingType;
};
}
export declare const initialTableEntity: () => Pick<EntityTableBlock, 'value'>;
export {};