标记文本以表示强调的重要性。
<Text> The most important thing to remember is, <Strong>stay positive</Strong>. </Text>
此组件基于 strong 元素,并支持 通用的 margin 属性。
strong
asChild
boolean
truncate
wrap
Responsive<"wrap" | "nowrap" | "pretty" | "balance">
使用 truncate 属性在文本溢出容器时使用省略号截断文本。
<Flex maxWidth="300px"> <Strong truncate> The goal of typography is to relate font size, line height, and line width in a proportional way that maximizes beauty and makes reading easier and more pleasant. </Strong> </Flex>