import { type LucideIcon } from 'lucide-react'; import Link from 'next/link'; import { cn } from '@/lib/utils'; interface PortalCardProps { title: string; value: number | string; description?: string; icon: LucideIcon; href?: string; className?: string; } export function PortalCard({ title, value, description, icon: Icon, href, className, }: PortalCardProps) { const content = (

{title}

{value}

{description && (

{description}

)}
); if (href) { // eslint-disable-next-line @typescript-eslint/no-explicit-any return {content}; } return content; }