'use client' export function StatCard({ title, value, color = 'gray', icon, }: { title: string value: string | number color?: 'red' | 'yellow' | 'green' | 'blue' | 'gray' icon?: React.ReactNode }) { const colorClasses = { red: 'bg-red-50 border-red-200 text-red-700', yellow: 'bg-yellow-50 border-yellow-200 text-yellow-700', green: 'bg-green-50 border-green-200 text-green-700', blue: 'bg-blue-50 border-blue-200 text-blue-700', gray: 'bg-gray-50 border-gray-200 text-gray-700', } return (

{title}

{icon}

{value}

) }