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]: TS error: rel prop does not exist in SwitcherItem type #17052

Closed
2 tasks done
ecrvich opened this issue Jul 26, 2024 · 0 comments · Fixed by #17059
Closed
2 tasks done

[Bug]: TS error: rel prop does not exist in SwitcherItem type #17052

ecrvich opened this issue Jul 26, 2024 · 0 comments · Fixed by #17059
Assignees

Comments

@ecrvich
Copy link

ecrvich commented Jul 26, 2024

Package

@carbon/react

Browser

Chrome

Package version

1.62.1

React version

18.3.1

Description

Two nearly identical errors were fixed (#15510 and #16294) for this component for two other props, and once again another anchor prop, rel, is now flagging as a TypeScript compile-time error (it wasn't in Carbon 1.56).

image

Reproduction/example

Any .tsx file that uses the rel attr with SwitcherItem will show this, no working example needed (compile-time issue, not run-time)

Steps to reproduce

Any .tsx file that uses the rel attr with SwitcherItem will show this, no working example needed (compile-time issue, not run-time)

Suggested Severity

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

Application/PAL

CDD Hub

Code of Conduct

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

Successfully merging a pull request may close this issue.

2 participants