import type { ReactNode } from 'react'; import { SectionHeader } from '../home/SectionHeader.tsx'; type Props = { eyebrow: string; title: string; subtitle?: string; children?: ReactNode }; /** The top of a marketing page: eyebrow, the page heading, one supporting sentence and the page's actions. */ export function PageHero({ eyebrow, title, subtitle, children }: Props) { return (
{children &&
{children}
}
); }