TextTable UI component
Purpose
TextTable is a data display component. Simple deterministic table. Use for compact static tabular output.
Inputs
| Field | Required | Type | Behavior |
|---|---|---|---|
headers |
yes | string array | Header cells. |
rows |
yes | array of row arrays | Body rows. Each row must contain exactly one cell per headers entry. Cells may be string, number, boolean, null, or a safe inline node using the normal kind plus props object shape, such as Text, StatusPill, or LinkButton; unsupported objects fail validation. |
Boundary
Headers and row order are stable. TextTable does not infer missing cells or
hide extra cells, because that would make table meaning ambiguous.
Example
package notesui
var moduleStatus = (
<TextTable
headers={[]string{"Module", "Status"}}
rows={[][]stringbus-ui}
></TextTable>
)