Skip to main content

Text

Use the Text component for text that is rendered without any semantic markup.

TextProps

Signature:

export declare type TextProps<E extends > = <E, >;

TextOwnProps

extends, , , , , ,
NameTypeDefaultDescription
textStyle?
| | |
-

Sets the text style. Variants include "base", "base-emphasized", etc.

fontStyle?
|
-

Sets the font style. Can either be "text" or "code"

Still have questions?
Find answers in the Dynatrace Community