TextContainer

TextContainer is used to wrap text elements such as TextBlock and Heading, and provide consistent vertical spacing.


Example

textcontainer

Props

optional = ?

Name Type Description
alignment? "leading" | "center" | "trailing" Align children’s on the horizontal axis
spacing? "xtight" | "tight" | "loose" | "xloose" Adjust spacing between children