import { type TableComponentOptions } from "https://deno.land/x/tui@1.3.4/src/components/table.ts";
Interface defining object that {TableComponent}'s constructor can interpret
Properties
theme: DeepPartial<TableTheme>
headers: (TableHeader | string)[]
Headers detailing size & text displayed for each data column When string is used width is determined by maximal width of either text or data in column
rectangle: Omit<Rectangle, "width">
Position and size of component
{TableComponent}'s rectangle doesn't include width
property as width is defined by headers and table data
optional
framePieces: "sharp" | "rounded" | TableFramePieceTypeOption that changes characters that surround {TableComponent}