import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { LucideIcon } from "lucide-react"; import { cn } from "@/lib/utils"; interface KPICardProps extends React.HTMLAttributes { title: string; value: string | number; icon: LucideIcon; trend?: { value: string; isPositive: boolean; }; } export function KPICard({ title, value, icon: Icon, trend, className, ...props }: KPICardProps) { return ( {title}
{value}
{trend && (

{trend.value}

)}
); }