import { Card, CardContent, Skeleton } from '@/components'; import { LucideIcon } from 'lucide-react'; interface StatsCardProps { icon: LucideIcon; title: string; value: string | number; unit: string; description: string; isLoading?: boolean; } export function StatsCard({ icon: Icon, title, value, unit, description, isLoading, }: StatsCardProps) { return (
{title}
{isLoading ? ( ) : (

{value}{' '} {unit}

)} {isLoading ? ( ) : (

{description}

)}
); }