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]: Incorrect types in SideNavMenuItem #17608

Open
2 tasks done
frankharkins opened this issue Sep 30, 2024 · 0 comments · May be fixed by #17609
Open
2 tasks done

[Bug]: Incorrect types in SideNavMenuItem #17608

frankharkins opened this issue Sep 30, 2024 · 0 comments · May be fixed by #17609

Comments

@frankharkins
Copy link
Contributor

frankharkins commented Sep 30, 2024

Package

@carbon/react

Browser

Firefox

Package version

1.67.0

React version

18.2.0

Description

Setting the as prop in SideNavMenuItem causes a type error, despite it being a valid prop.

Reproduction/example

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

Steps to reproduce

Go to the repro and mouseover as to see the type error.

Screenshot 2024-09-30 at 15 38 46

Suggested Severity

Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant