import { ReactNode } from "react"; import { Badge, BadgeProps } from "../../components/badge"; type Props = { title: string; description?: string; badgeText?: string; badgeVariant?: BadgeProps["variant"]; infoIcon?: string; rightAlignedComponent?: ReactNode; }; function PageHeader({ title, description, rightAlignedComponent, badgeText, badgeVariant }: Props) { return (