import { TrendingUp, TrendingDown } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; interface MetricCardProps { title: string; value: string; change: string; changeType: 'up' | 'down'; description: string; subtitle: string; } export function MetricCard({ title, value, change, changeType, description, subtitle }: MetricCardProps) { return ( {title} {changeType === 'up' ? : } {change}
{value}

{description}

{subtitle}

); }