Components
TableColumn
TableColumn defines a single column inside `Table`, including its header title and row value renderer.
TableColumn defines a single column inside `Table`, including its header title and row value renderer.
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 |
|---|---|---|---|
title | ReactNode | Yes | The visible header title for this column. |
value | (row: Row) => ReactNode | Yes | Renderer for each row value in this column. |
Overview
TableColumn defines a single column inside Table, including its header title and row value renderer.
Table
Table renders structured tabular data with explicit `TableColumn` definitions, aligned with SwiftUI's table mental model.
TabView
TabView is a view that switches between multiple child views using interactive tabs. TabView provides a tabbed interface for organizing content into separate sections.