diff --git a/packages/libs/react-ui/src/components/NavHeader/NavHeader.tsx b/packages/libs/react-ui/src/components/NavHeader/NavHeader.tsx index b375677d7b..a7d85ee7c8 100644 --- a/packages/libs/react-ui/src/components/NavHeader/NavHeader.tsx +++ b/packages/libs/react-ui/src/components/NavHeader/NavHeader.tsx @@ -1,5 +1,6 @@ import { containerClass, logoClass } from './NavHeader.css'; -import { INavHeaderProps } from '.'; +import { INavHeaderContentProps } from './NavHeaderContent'; +import { INavHeaderNavigationProps } from './NavHeaderNavigation'; import type { LogoVariant } from '@components/BrandLogo'; import Logo, { logoVariants } from '@components/BrandLogo'; @@ -16,7 +17,9 @@ export type INavItems = INavItem[]; export interface INavHeaderContainerProps { brand?: LogoVariant; - children?: FunctionComponentElement[]; + children?: FunctionComponentElement< + INavHeaderNavigationProps | INavHeaderContentProps + >[]; items?: INavItems; }