import { ArrowRight, type LucideIcon } from "lucide-react"; import { useState } from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "../ui/card"; import { Badge } from "../ui/badge"; import { Button } from "../ui/button"; interface TemplateCardProps { title: string; description: string; icon: LucideIcon; tags: string[]; } export function TemplateCard({ title, description, icon: Icon, tags, }: TemplateCardProps) { const [isHovered, setIsHovered] = useState(false); return ( setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} >
{title} {description}
{tags.map((tag, index) => ( {tag} ))}
); }