import React, { ReactNode } from 'react'; import { paramCase } from 'param-case'; import Link from '@docusaurus/Link'; import clsx from 'clsx'; export function CardSection({ id, title, icon, children, description, className, hasSubSections = false, HeadingTag = 'h1', }: { id?: string; title?: string; icon?: JSX.Element; children: ReactNode; description?: ReactNode; hasSubSections?: boolean; HeadingTag?: any; className?: string; }) { return (
{title && {title}} {description &&

{description}

}
{children}
); } export function Card({ id, icon, title, description, to, }: { id?: string; icon?: JSX.Element; title?: string; description?: string; to: string; }) { return ( {icon &&
{icon}
}
{title}
{description &&
{description}
}
); }