diff --git a/projects/website/src/components/tooltip.tsx b/projects/website/src/components/tooltip.tsx index 5e0bd30..610b650 100644 --- a/projects/website/src/components/tooltip.tsx +++ b/projects/website/src/components/tooltip.tsx @@ -1,4 +1,8 @@ +"use client"; + import { Tooltip as ShadCnTooltip, TooltipContent, TooltipTrigger } from "./ui/tooltip"; +import { useState } from "react"; +import { cn } from "@/common/utils"; type Props = { /** @@ -28,10 +32,21 @@ type Props = { }; export default function Tooltip({ children, display, asChild = true, side = "top", className }: Props) { + const [open, setOpen] = useState(false); + return ( - {children} + {display}