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. Use JavaScript default parameters instead. #467

Open
mh-rafi opened this issue Oct 3, 2023 · 0 comments

Comments

@mh-rafi
Copy link

mh-rafi commented Oct 3, 2023

Do you have any plane to remove defaultProps? I'm getting following warning

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

I'm using pure-react-carousel v1.30.1,
next.js v13.5.3
and react v18.2.0

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