Skip to content

Commit

Permalink
fix(types): fix HeaderNavigation to allow children (uber#5185)
Browse files Browse the repository at this point in the history
Co-authored-by: Chase Starr <[email protected]>
  • Loading branch information
alexgorbatchev and chasestarr authored Oct 4, 2022
1 parent fb9aff2 commit c9e0a0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/header-navigation/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
import type { PropsWithChildren } from 'react';
import type { Override } from '../helpers/overrides';

export type HeaderNavigationOverrides = {
Root?: Override;
};

export type HeaderNavigationProps = React.PropsWithChildren<{
export type HeaderNavigationProps = PropsWithChildren<{
overrides: HeaderNavigationOverrides;
}>;

0 comments on commit c9e0a0c

Please sign in to comment.