Text

The Text component is used to render text in an interface.

Guidelines

These guidelines are an example of how importing MDX works. Components like Text are supported as well for things like overriding inline text.

API Reference

TextVariants

Type

"mark" | "heading1" | "heading2" | "heading3" | "body1" | "body2"

TextProps

Properties

PropertyTypeModifiers
className?string
childrenReactNode
variant?TextVariants
alignment?"start" | "center" | "end"
width?string | number
lineHeight?string
color?string

Text

Properties

TextProps

Returns

JSX.Element