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

Support for defaultProps will be removed from function components in a future major release #29

Open
iampava opened this issue Sep 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@iampava
Copy link

iampava commented Sep 6, 2023

When using the <ObjectInspector> component I get this error in the console:

ObjectInspectorItem: Support for defaultProps will be removed from function components in a future major release.
Use JavaScript default parameters instead.

I think it's an easy fix, I would be more than happy to contribute a PR.

@iampava iampava added the bug Something isn't working label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant