import type { LucideIcon } from "lucide-react"; import type { ReactNode } from "react"; import { AppCard } from "@/components/ui/app-card"; import { CardContent } from "@/components/ui/card"; type StatsCardProps = { title: string; value: string; icon?: LucideIcon; description?: string; footer?: ReactNode; className?: string; }; export function StatsCard({ title, value, icon: Icon, description, footer, className, }: StatsCardProps) { return (
{Icon ? (
) : null}

{title}

{value}

{description ? (

{description}

) : null} {footer ?
{footer}
: null}
); }