import { ReactNode } from "react"; import { Icon, Icons } from "@/components/Icon"; interface SectionHeadingProps { icon?: Icons; title: string; children?: ReactNode; className?: string; customIcon?: ReactNode; } export function SectionHeading(props: SectionHeadingProps) { return (
{props.customIcon ? (
{props.customIcon}
) : props.icon ? (