import React from 'react' import { LucideIcon } from 'lucide-react' interface StatsCardProps { label: string value: string | number icon: LucideIcon iconColor: string iconBgColor: string onClick?: () => void isLoading?: boolean } export const StatsCard: React.FC = ({ label, value, icon: Icon, iconColor, iconBgColor, onClick, isLoading = false, }) => { return (
e.key === 'Enter' && onClick() : undefined} >

{isLoading ? '...' : value}

{label}

) }