import Link from 'next/link'; import { ChevronRightIcon } from 'lucide-react'; export const DocsCard: React.FC< React.PropsWithChildren<{ label: string; subtitle?: string | null; link?: { url: string; label: string }; }> > = ({ label, subtitle, children, link }) => { return (

{label}

{subtitle && (

{subtitle}

)} {children &&
{children}
}
{link && (
{link.label}
)}
); };