SimpleTable
The SimpleTable component is a simplified version of the DataTable. It is
designed to handle small sets of data and markdown representation. It does not
feature sorting, resizing, filtering, or virtualization and behaves like a
native HTML table.
SimpleTableProps
Signature:
declare type SimpleTableProps< = > = <> & & & ;SimpleTableBaseProps
extends
| Name | Type | Default | Description |
|---|---|---|---|
data | [] | | Data given to the SimpleTable. Needs to be memoized in order to ensure performant update cycles. |
columns | <>[] | | Column definition given to the SimpleTable. Needs to be memoized in order to ensure performant update cycles. |
variant? | {
/**
* rowSeparation can be set to which will provide lines between rows or
* can be set to which will provide alternate row coloring.
* @defaultValue
*/
rowSeparation?: | | ;
/**
* If true provides vertical lines between the columns.
* @defaultValue false
*/
verticalDividers?: ;
/**
* If true provides a border for the table.
* @defaultValue true
*/
contained?: ;
/**
* rowDensity adds spacing around the content inside the row
* with minimal space for , maximum spacing for and
* being medium spacing.
* @defaultValue
*/
rowDensity?: | | ;
/**
* fontStyle, sets the font style for the entire data table.
* This does not overwrite fontStyle set at the lower level, like columns etc.
* @defaultValue
*/
fontStyle?: | ;
} | | Configures the variant on the data table, impacting the visual representation. |