interface TableCell {
    align?: "center" | "left" | "right";
    bgColor?: string;
    bold?: boolean;
    fontSize?: number;
    text: string;
    textColor?: string;
}

Properties

align?: "center" | "left" | "right"
bgColor?: string

Cell fill. Transparent when omitted, so the pane shows through.

bold?: boolean
fontSize?: number

Overrides the table's fontSize for this cell, for a heading row.

text: string
textColor?: string

Text colour. Derived from bgColor for contrast when omitted.