import { ReactNode } from "react"; import { cn } from "@/lib/utils"; interface MetricCardProps { title: string; value: string | number; subtitle?: string; icon: ReactNode; status?: "success" | "warning" | "error"; className?: string; } export function MetricCard({ title, value, subtitle, icon, status, className, }: MetricCardProps) { return (
{title}
{value}
{subtitle && ({subtitle}
)}