Skip to content

[Bug]: Incorrect types in SideNavMenuItem #17608

Closed

Description

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

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions