import { ReactNode } from "react"; import Badge, { badgeClassNameByVariant } from "./Badge"; type Props = { title: string; description?: string; badgeText?: string; badgeVariant?: keyof typeof badgeClassNameByVariant; infoIcon?: string; rightAlignedComponent?: ReactNode; }; function PageHeader({ title, description, rightAlignedComponent, badgeText, badgeVariant }: Props) { return (