DataTable
- Draft
- Not reviewed for accessibility
Name | Type | Default | Description |
---|---|---|---|
aria-describedby | string | Provide an id to an element which uniquely describes this table | |
aria-labelledby | string | Provide an id to an element which uniquely labels this table | |
data | Array<Data> | Provide a collection of the rows which will be rendered inside of the table | |
columns | Array<Column<Data>> | Provide the columns for the table and the fields in `data` to which they correspond | |
cellPadding | 'condensed' | 'normal' | 'spacious' | Specify the amount of space that should be available around the contents of a cell |
Name | Type | Default | Description |
---|---|---|---|
aria-describedby | string | Provide an id to an element which uniquely describes this table | |
aria-labelledby | string | Provide an id to an element which uniquely labels this table | |
children | React.ReactNode | ||
cellPadding | 'condensed' | 'normal' | 'spacious' | Specify the amount of space that should be available around the contents of a cell |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | ||
scope | 'row' | Provide the scope for a table cell, useful for defining a row header using `scope="row"` |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | ||
id Required | string |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | ||
id Required | string |
Name | Type | Default | Description |
---|---|---|---|
cellPadding | 'condensed' | 'normal' | 'spacious' | Specify the amount of space that should be available around the contents of a cell | |
columns | Array<Column<Data>> | ||
rows | number | Optionally specify the number of rows which should be included in the skeleton state of the component |