"use client" import type React from "react" interface StatCardProps { title: string subtitle: string icon: React.ComponentType<{ size?: number; className?: string; color?: string }> iconColor: string backgroundIconColor: string onClick: () => void } export const StatCard: React.FC = ({ title, subtitle, icon: Icon, iconColor, backgroundIconColor, onClick, }) => { return (
{/* Фоновая иконка */} {/* Основная иконка */}
{/* Текст */}
{title}
{subtitle}
) }