import { Typography } from "poyraz-ui/atoms"; import type { ReactNode } from "react"; type PageHeaderProps = { title: string; description?: string; primaryAction?: ReactNode; secondaryActions?: ReactNode; }; export function PageHeader({ title, description, primaryAction, secondaryActions, }: PageHeaderProps) { return (
{title} {description ? ( {description} ) : null}
{primaryAction || secondaryActions ? (
{secondaryActions} {primaryAction}
) : null}
); }