import { Link } from 'react-router-dom' import type { ComponentType } from 'react' interface SectionCardProps { label: string description?: string to: string icon?: ComponentType<{ size?: number; className?: string }> comingSoon?: boolean } export default function SectionCard({ label, description, to, icon: Icon, comingSoon }: SectionCardProps) { if (comingSoon) { return (
{label}
{description &&{description}
} Coming soon{label}
{description &&{description}
}