import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { icons } from "lucide-react"; interface GenericIconProps { name: keyof typeof icons; className: string; } function GenericIcon(props: GenericIconProps) { const { name, className } = props; const LucideIcon = icons[name]; return ; } interface DataCardProps { title: string; description?: string; value: string | number; icon: keyof typeof icons; } export function DataCard(props: DataCardProps) { const { title, description, value, icon } = props; return ( {title}
{value}

 

); }