import { type ReactNode, type FC } from 'react'; import cn from 'classnames'; import '../styles/components/header.scss'; type HeroHeaderProps = { /** * The title of the hero header */ title: ReactNode; /** * The content of the hero header */ children: ReactNode; /** * An optional footer, displayed at the bottom */ footer?: ReactNode; /** * An optional class name */ className?: string; }; export const HeroHeader: FC = ({ title = '', children, footer, className, ...props }) => (

{title}

{children}
{footer}
); export default HeroHeader;