Em
用于标记文本以进行强调。
The design system is a collection of UI elements
import { Em, Text } from "@chakra-ui/react"
const Demo = () => {
return (
<Text>
The <Em>design system</Em> is a collection of UI elements
</Text>
)
}
用法
¥Usage
import { Em } from "@chakra-ui/react"
<Text>
The <Em>design system</Em> is a collection of UI elements
</Text>