import { cn } from "@/lib/utils"; import { LucideIcon } from "lucide-react"; type Props = { title: string; value?: string | number | null; icon: LucideIcon; valueClassName?: string; children?: React.ReactNode; }; const StatsCard = ({ title, value, icon: Icon, valueClassName, children, }: Props) => { return (
{typeof value === "undefined" ? "..." : value}
)}{title}