Table
A responsive table component to show structured data.
Usage
Table Props
Customize the Table appearance with these configuration options.
The Table
component is composed of several parts, each with their own props
Prop | Type | Default |
---|---|---|
className | string | - |
Table.Header Props
Defines the table’s header row.
Prop | Type | Default |
---|---|---|
className | string | - |
Table.Body Props
Wraps the table rows inside the body section.
Prop | Type | Default |
---|---|---|
className | string | - |
Table.Row Props
Represents a single row in the table.
Prop | Type | Default |
---|---|---|
className | string | - |
Table.Cell Props
Represents a single cell in a row
Prop | Type | Default |
---|---|---|
className | string | - |
Table.SectionHeader Props
Represents a section heading, grouping different rows of the table.
Prop | Type | Default |
---|---|---|
classNames | { row?: string | undefined; cell?: string | undefined; } | - |
colSpan | number | - |