import type { ReactNode } from "react" import { IconTile } from "@/components/reui/icon-tile" import { cn } from "@/lib/utils" interface PageTitleProps { icon?: ReactNode title: ReactNode description?: ReactNode /** Главные действия страницы — одна основная кнопка и не больше двух вторичных. */ actions?: ReactNode className?: string } /** Заголовочный блок страницы макета v3: иконка, h1, описание и действия справа. */ export function PageTitle({ icon, title, description, actions, className }: PageTitleProps) { return (
{icon ? ( ) : null}

{title}

{description ?

{description}

: null}
{actions ? (
{actions}
) : null}
) }