mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Feat(Builder): Decrease the delay before a tooltip opens (#7478)
Make tooltip show in 10 ms
This commit is contained in:
@@ -7,7 +7,11 @@ import { cn } from "@/lib/utils"
|
||||
|
||||
const TooltipProvider = TooltipPrimitive.Provider
|
||||
|
||||
const Tooltip = TooltipPrimitive.Root
|
||||
const Tooltip = ({ children, delayDuration = 10 }) => (
|
||||
<TooltipPrimitive.Root delayDuration={delayDuration}>
|
||||
{children}
|
||||
</TooltipPrimitive.Root>
|
||||
);
|
||||
|
||||
const TooltipTrigger = TooltipPrimitive.Trigger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user