UNPKG

dmeditor

Version:

dmeditor is a block-style visual editor. Data is in json format.

22 lines (21 loc) 675 B
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; headerColor?: string; headerAlign?: 'left' | 'center' | 'right'; headerBackground?: string; general?: DMEData.GeneralSettingType; }; } export declare const initialTableEntity: () => Pick<EntityTableBlock, 'value'>; export {};