Text
Use the Text component for text that is rendered without any semantic markup.
Import
import { Text } from '@dynatrace/strato-components/typography';
Use cases
Change font and text style
Setting the optional textStyle and fontStyle properties allows for changing
the style of the rendered text. While textStyle determines font weight and
size, fontStyle defines whether variable-width font for regular text or
monospace font for code examples is used.
Still have questions?
Find answers in the Dynatrace Community