import { Box, Card, CardContent, Stack, Typography } from "@mui/material"; import type { ReactNode } from "react"; interface Props { label: string; value: ReactNode; icon: ReactNode; color?: string; hint?: string; } export default function StatCard({ label, value, icon, color = "#4F46E5", hint }: Props) { return ( {label} {value} {hint && ( {hint} )} {icon} ); }