Skip to content

Commit

Permalink
chore: be more specific on children type of INavHeaderContainerProps
Browse files Browse the repository at this point in the history
  • Loading branch information
timoheddes committed Aug 9, 2023
1 parent 0e38b78 commit 32497ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/libs/react-ui/src/components/NavHeader/NavHeader.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -16,7 +17,9 @@ export type INavItems = INavItem[];

export interface INavHeaderContainerProps {
brand?: LogoVariant;
children?: FunctionComponentElement<INavHeaderProps>[];
children?: FunctionComponentElement<
INavHeaderNavigationProps | INavHeaderContentProps
>[];
items?: INavItems;
}

Expand Down

1 comment on commit 32497ba

@vercel
Copy link

@vercel vercel bot commented on 32497ba Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-ui – ./packages/libs/react-ui

react-ui-git-main-kadena-js.vercel.app
react-ui-kadena-js.vercel.app
react-ui-delta.vercel.app
react-ui.kadena.io

Please sign in to comment.