components
TableCaption
v.1.0.0 | SaturnUsage
The name of the object of tokens to style tableCaption is TABLE_CAPTION_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 caption.
The structure of the TABLE_CAPTION_STYLES object is:
Variants
Variants can modify the styles for the table caption.
The tokens used are:
- container?: CommonStyleType & TypographyTypes;
12345
const TABLE_CAPTION_STYLES = { [VARIANT]: { container?: CommonStyleType & TypographyTypes; } };
Example
tableCaption theme object example:
1234567
const TABLE_CAPTION_STYLES = { [VARIANT]: { container: { display: 'display', }, }, };