Documentation Index
Fetch the complete documentation index at: https://docs.sure-developer.com/llms.txt
Use this file to discover all available pages before exploring further.
Table
Table renders read-only rows from a column list and row data.
API
Data shape
| Input | Shape |
|---|---|
columns | String array or { key, label }[]. Object columns also accept value as a key fallback. |
rows | Array of tables. Each column reads row[column.key]. |
Props
| Prop | Description |
|---|---|
caption | Optional caption rendered below the table. |
tableClassName | Table element class. |
captionClassName | Caption class. |
headerClassName, theadClassName | Header group class. |
headerRowClassName | Header row class. |
headClassName, headerCellClassName, thClassName | Header cell classes. |
bodyClassName, tbodyClassName | Body class. |
rowClassName | Body row class. |
cellClassName, tdClassName | Body cell classes. |
Row keys come from
row.id, row.key, or the row index.