import { Card, CardContent } from '@/components/ui/card'; import { cn } from '@/lib/utils'; import { LucideIcon, TrendingDown, TrendingUp } from 'lucide-react'; interface Props { icon: LucideIcon; label: string; value: string | number; trend?: { value: number; isPositive: boolean; }; className?: string; } const ExamStatsCard = ({ icon: Icon, label, value, trend, className }: Props) => { return (

{label}

{value}

{trend && (
{trend.isPositive ? : } {Math.abs(trend.value)}%
)}
); }; export default ExamStatsCard;