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 #156

Open
mdbaniani opened this issue Aug 5, 2024 · 3 comments
Open

Comments

@mdbaniani
Copy link

mdbaniani commented Aug 5, 2024

When opening the DatePicker, metro displays a warning :

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

"react-native" : "0.74.2",
"react-native-modern-datepicker": "^1.0.0-beta.91",

node version : 18.19.1
Screenshot_1722837406

@vorn-tovtrip
Copy link

Any solution yet?

@PONZACENIOW
Copy link

+1

@bordot
Copy link

bordot commented Oct 18, 2024

Just submitted a pull request that should solve this issue: #158

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

4 participants