import { Icon, Icons } from "components/Icon"; import { ArrowLink } from "components/text/ArrowLink"; import { ReactNode } from "react"; interface SectionHeadingProps { icon?: Icons; title: string; children?: ReactNode; linkText?: string; onClick?: () => void; className?: string; } export function SectionHeading(props: SectionHeadingProps) { return (

{props.icon ? ( ) : null} {props.title}

{props.linkText ? ( ) : null}
{props.children}
); }