Go Main page
Go Main page

Web components

cover

components

TableBody

v.1.0.0 | Saturn

Usage

The name of the object of tokens to style tableBody is TABLE_BODY_STYLES.

You can not change the name of the object of tokens.

Container component has one way to modify the styles:

  • Variant: modify the styles of the table body.

The structure of the TABLE_BODY_STYLES object is:

Variants

Variants can modify the styles for the table body.

The tokens used are:

12345
const TABLE_BODY_STYLES = {
  [VARIANT]: {
    container?: CommonStyleType & TypographyTypes;
  }
};

Example

tableBody theme object example:

1234567
const TABLE_BODY_STYLES = {
  [VARIANT]: {
    container: {
      display: 'display',
    },
  },
};