import { PropsWithChildren } from 'react'; import { ContextHelp } from '@@/PageHeader/ContextHelp'; import { useHeaderContext } from './HeaderContainer'; import { NotificationsMenu } from './NotificationsMenu'; import { UserMenu } from './UserMenu'; interface Props { title: string; } export function HeaderTitle({ title, children }: PropsWithChildren) { useHeaderContext(); return (
{title}
{children && {children}}
{!window.ddExtension && }
); }