'use client' import { LucideIcon } from 'lucide-react' import { cn } from '@/lib/utils' interface StatsCardProps { title: string value: string | number icon: LucideIcon trend?: { value: number isPositive: boolean } className?: string iconColor?: string iconBgColor?: string } export function StatsCard({ title, value, icon: Icon, trend, className, iconColor = 'text-blue-600', iconBgColor = 'bg-blue-50' }: StatsCardProps) { return (
{/* Premium gradient overlay */}

{title}

{value}

{trend && (
{trend.isPositive ? '↑' : '↓'} {Math.abs(trend.value)}%
по сравнению с прошлым месяцем
)}
{/* Icon with modern styling */}
) }