TextStyle
Defines styling options for text elements in tooltips.
Props
The following table outlines the props for the TextStyle:
| Name | Type | Default | Description |
|---|---|---|---|
| boldTextSize | string | - | Font size specifically for bold text. |
| color | string | - | Text color specified as a CSS color value. |
| fontFamily | string | - | Font family for the text. |
| fontStyle | string | - | Font style for the text (e.g., 'normal', 'italic'). |
| fontWeight | string | null | - | Font weight for the text, can be specified as a string (e.g., 'bold', 'normal', '600'). Can be null to use the default font weight. |
| headerTextSize | string | - | Font size specifically for header text. |
| opacity | number | - | Opacity level for the text, ranging from 0 (transparent) to 1 (opaque). |
| size | string | - | Font size for the text, specified as a CSS font-size value (e.g., '12px'). |