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]: OverflowMenu types not exported despite being in changelog #16493

Open
2 tasks done
patrikhermansson opened this issue May 17, 2024 · 2 comments
Open
2 tasks done

Comments

@patrikhermansson
Copy link

Package

@carbon/react

Browser

Chrome, Safari, Firefox, Edge

Package version

v11.57.0

React version

v18

Description

The v11.57.0 changelog says that OverflowMenu now has typescript types (#16134). However they are not exported in the actual module. The component is not faulty in any other way and works like before, just missing types.

Reproduction/example

None

Steps to reproduce

Use in editor with typescript support

Suggested Severity

None

Application/PAL

No response

Code of Conduct

@Gururajj77
Copy link
Contributor

Hey There, as of #16494 , we have exported the OverflowMenuProps, you can access them now. Please let me know if you are still not seeing it

@patrikhermansson
Copy link
Author

I see! It's useful but doesn't work as you'd expect compared to other components in this library, the OverflowMenu component itself is exported now but is untyped. So you can use any props on it and it'll pass typecheck.

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

No branches or pull requests

2 participants