-
Notifications
You must be signed in to change notification settings - Fork 39
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
I am getting "Support for defaultProps" warning for every icon that i am using. #86
Comments
+1 |
2 similar comments
+1 |
+1 |
This issue is open for quite some time and as far as I can see it seems like a simple fix in the build/generate.js to default the color and size in the method header. I'm not familiar with this library and the way it is build, so would be great if one of the maintainers can actually change the behavior to remove the deprecated use of defaultprops. |
fnogatz
added a commit
to SUSIandJames/react-unicons
that referenced
this issue
Jul 10, 2024
Fixes Iconscout#86 and Iconscout#64 The work on this PR was sponsored by [SUSI&James GmbH](https://susiandjames.com/)
This was referenced Jul 10, 2024
I created PR #95 which addresses this warning. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Warning: UilTimesSquare: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
How do I deal with this?
The text was updated successfully, but these errors were encountered: