Table
v0.2.4StableA bare data table: describe `columns` once (a `title` plus a `dataIndex` or a custom `render`), pass `data`, get a `<table>` back. No sorting, pagination or empty state — add those around it.
A bare data table: describe columns once (a title plus a dataIndex or a custom render), pass data, get a <table> back. No sorting, pagination or empty state — add those around it.
Usage
Examples
Open all 3 →Properties
Table props
| Prop | Type | Default | Description |
|---|---|---|---|
columns* | TableColumn<TRow>[] | — | Column definitions, rendered left to right |
data* | TRow[] | — | Rows to render, in the order given — Table does not sort, paginate, or filter |
rowKey* | (row: TRow) => string | — | Returns a stable, unique key for a row, used as its React key |
className | string | — | Additional class names to merge with the component root element |