TextComponentProps
TextComponentProps are the props of ReactComponent.TextComponent. The text is its children.
type TextComponentProps = { color?: string; semanticColor?: SemanticColor; variant?: Variant; paddingBottom?: string; weight?: 'book' | 'bold' | 'black';};| Prop | Description |
|---|---|
variant | A Variant type style. |
semanticColor | A SemanticColor from Spotify’s theme. |
color | A CSS color. Some versions of the component ignore it. |
weight | The font weight. |
paddingBottom | The space below the text, as a CSS length. |