import { Tooltip, TooltipContent, TooltipTrigger } from '@thedaviddias/design-system/tooltip' import type { LucideIcon } from 'lucide-react' import { Card } from '@/components/ui/card' interface StatCardProps { title: string value: string | number icon: LucideIcon description?: string } /** * Renders a statistics card with icon, title, value, and optional tooltip */ export function StatCard({ title, value, icon: Icon, description }: StatCardProps) { return (

{title}

{value}

{description && (

{description}

)}
) }