22 lines
428 B
TypeScript
22 lines
428 B
TypeScript
import type { LucideIcon } from "lucide-react";
|
|
|
|
import { StatsCard } from "@/components/dashboard/stats-card";
|
|
|
|
type DashboardCardProps = {
|
|
title: string;
|
|
value: string;
|
|
description: string;
|
|
icon: LucideIcon;
|
|
};
|
|
|
|
export function DashboardCard({
|
|
title,
|
|
value,
|
|
description,
|
|
icon: Icon,
|
|
}: DashboardCardProps) {
|
|
return (
|
|
<StatsCard title={title} value={value} description={description} icon={Icon} />
|
|
);
|
|
}
|