Table
Data DisplayA data table.
Preview
| ID | Name | Role |
|---|---|---|
| 1 | Alice | Admin |
| 2 | Bob | User |
| 3 | Charlie | Guest |
Usage
<Table headers={['Name', 'Role']} rows={[['John', 'Admin']]} />Props
| Name | Type | Default | Description |
|---|---|---|---|
| headers | string[] | [] | Column headers. |
| rows | string[][] | [] | Table data rows. |
| caption | string | '' | Table caption. |