Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: HeaderMenu typings are incorrect #16181

Closed
2 tasks done
a88zach opened this issue Apr 11, 2024 · 1 comment · Fixed by #16191
Closed
2 tasks done

[Bug]: HeaderMenu typings are incorrect #16181

a88zach opened this issue Apr 11, 2024 · 1 comment · Fixed by #16191
Assignees
Labels

Comments

@a88zach
Copy link

a88zach commented Apr 11, 2024

Package

@carbon/react

Browser

Chrome

Package version

1.55.0

React version

18.2.0

Description

The HeaderMenu component typings are incorrect as they do not allow children

Screenshot 2024-04-11 at 10 25 23 AM

Reproduction/example

https://stackblitz.com/edit/github-1ithgj?file=src%2FApp.tsx

Steps to reproduce

Once all dependencies load, notice the typescript error for the HeaderMenu component

Suggested Severity

Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

@a88zach
Copy link
Author

a88zach commented Apr 11, 2024

@Gururajj77 seems to be caused by #16116

Can you please also create a Stackblitz template for Typescript? I had to modify the current template to reproduce this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants