mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 12:54:45 +08:00
feat: adjust layout and style of tooltip
This commit is contained in:
@@ -15,9 +15,9 @@ export function Tooltip({
|
||||
content?: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<TooltipPrimitive {...props}>
|
||||
<TooltipPrimitive delayDuration={500} {...props}>
|
||||
<TooltipTrigger asChild>{children}</TooltipTrigger>
|
||||
<TooltipContent className="shadow">{content}</TooltipContent>
|
||||
<TooltipContent>{content}</TooltipContent>
|
||||
</TooltipPrimitive>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user