import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { cn } from "@/util/utils"; import { useState } from "react"; type Props = { title: string; description: string; body: string; onClick: () => void; }; function TaskTemplateCard({ title, description, body, onClick }: Props) { const [hovering, setHovering] = useState(false); return ( setHovering(true)} onMouseLeave={() => setHovering(false)} onMouseOver={() => setHovering(true)} onMouseOut={() => setHovering(false)} > {title} {description} { onClick(); }} > {body} ); } export { TaskTemplateCard };