import React from 'react'; import { LucideIcon } from 'lucide-react'; interface StatCardProps { label: string; value: number; icon?: LucideIcon; } export default function StatCard({ label, value, icon: Icon }: StatCardProps) { return (
{Icon &&
{value}
); }