Components

工具提示

浮动元素,通过指针或焦点为控件提供上下文信息。

<Tooltip content="添加到库">
<IconButton radius="full">
<PlusIcon />
</IconButton>
</Tooltip>

API 参考

该组件继承并合并来自 Radix 工具提示原始组件 RootPortalContent 部件的 props。它支持 常见的边距属性

PropTypeDefault
content*
ReactNode
No default value
width
Responsive<string>
No default value
minWidth
Responsive<string>
No default value
maxWidth
Responsive<string>
"360px"