Components
Text
A text component that allows users to display text. Primary exist to style the text with the correct color and typography style defined in the theme.
Installation
Usage
Props
Inherit all props from TextProps.
| Prop | Type | Default |
|---|---|---|
variant? | "heading1" | "heading2" | "heading3" | "body1" | "body2" | "body3" | 'body1' |
color? | "interactivePrimaryContent" | "interactiveSecondaryContent" | "contentPrimary" | "contentSecondary" | "contentTertiary" | "contentAccent" | "sentimentPositive" | "sentimentSecondaryPositive" | "sentimentNegative" | "sentimentSecondaryNegative" | 'contentPrimary' |