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

defaultProps will be removed #503

Closed
damsalem opened this issue Sep 18, 2023 · 1 comment
Closed

defaultProps will be removed #503

damsalem opened this issue Sep 18, 2023 · 1 comment

Comments

@damsalem
Copy link

The icons use defaultProps rather than default parameters and when using them, I get this error:

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

This is not an issue now, but may break this code in the future?

@nygardk
Copy link
Owner

nygardk commented Nov 19, 2023

Hey, version 5 no longer uses defaultProps.

@nygardk nygardk closed this as completed Nov 19, 2023
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

2 participants