使用工具提示可在用户将鼠标悬停在一段文本上时提供额外的上下文或定义。工具提示可以包含可选的号召性链接(CTA)。 示例 文档帮助开发者了解如何与您的服务集成。
Tooltip example
<Tooltip tip="Application Programming Interface: a set of protocols for software applications to communicate." cta="Read our API guide" href="/api-reference">API</Tooltip> documentation helps developers understand how to integrate with your service.

属性

tip
string
required
工具提示中显示的文本。
cta
string
工具提示内链接的号召性用语文本。
href
string
号召性用语链接的 URL。使用 cta 时必填。