import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { cn } from "@/lib/utils"; const formatPrice = (value: number) => `${value.toLocaleString("fa-IR")} ریال`; interface StatsCard4Props { title?: string; currentValue?: string; currentLabel?: string; previousValue?: string; previousLabel?: string; className?: string; } const StatsCard4 = ({ title = "درآمد ماهانه", currentValue = formatPrice(12450000), currentLabel = "ماه جاری", previousValue = formatPrice(10230000), previousLabel = "ماه قبل", className, }: StatsCard4Props) => { return ( {title}
{currentValue}
{currentLabel}
{previousValue}
{previousLabel}
); }; export { StatsCard4 };