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

Chip component onClose prop #11

Open
CamilaQueiroz opened this issue Oct 27, 2023 · 0 comments
Open

Chip component onClose prop #11

CamilaQueiroz opened this issue Oct 27, 2023 · 0 comments

Comments

@CamilaQueiroz
Copy link

When I pass a function to the onClose prop of the Chip component, TypeScript says that that is not the expected type for that prop, it expects the undefined type.

I believe the error was not due to the update because I had an older version (14.7) and after updating the same error continued. Now I'm on version 14.28.1

Passing the function
Screenshot 2023-10-27 at 13 39 57

Passing undefined value
Screenshot 2023-10-27 at 13 40 23

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

No branches or pull requests

1 participant