Skip to main content

Interface: TableSvgProps

Props of TableSvg.

Properties​

badge?​

badge?: string;

Text badge at the header's right end, e.g. "~3".


box​

box: Box;

Where to draw it (geometry.nodes[table.id]).


columnTones?​

columnTones?:
| Readonly<Record<string, DecorationTone>>
| null;

Column name → decoration tone (row tint; removed rows struck through).


detailLevel?​

detailLevel?: DetailLevel;

Which columns to draw. Default all.


dimmed?​

dimmed?: boolean;

Draw at reduced opacity (not part of the current highlight).


highlightColumns?​

highlightColumns?: ReadonlySet<string> | null;

Column names whose rows get the highlight background.


highlighted?​

highlighted?: boolean;

Draw with the highlight border.


measure?​

measure?: TextMeasure;

Text measurement used for truncation. Default: the built-in width estimate.


selected?​

selected?: boolean;

Draw with the selection border.


shadowFilter?​

shadowFilter?: string | null;

id of a <filter> in scope for the card shadow.


table​

table: Table;

The table to draw.


tone?​

tone?: DecorationTone;

Decoration tone of the table (ring + tint; removed: dashed, 60% opacity, name struck through).