Components
Table
Table renders structured tabular data with explicit `TableColumn` definitions, aligned with SwiftUI's table mental model.
Table renders structured tabular data with explicit `TableColumn` definitions, aligned with SwiftUI's table mental model.
Examples
Default
Preview unavailable for this example in the static docs build.
Show code
<Table data={rows} rowKey={(row) => row.id}>
<TableColumn<Person> title="Name" value={(row) => row.name} />
<TableColumn<Person> title="Role" value={(row) => row.role} />
</Table>API
| Prop | Type | Required | Description |
|---|---|---|---|
data | Row[] | Yes | The row data rendered by the table. |
rowKey | (row: Row, index: number) => string | Yes | Stable key generator for each row. |
Inherits additional props from IBaseComponent.
Overview
Table renders structured tabular data with explicit TableColumn definitions, aligned with SwiftUI's table mental model.