Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
mstephens opened this issue Nov 19, 2024 · 0 comments

Comments

@mstephens
Copy link

Error is generated with the latest versioon of react native.

Warning: ImageGallery: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
{
"dependencies": {
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "react-native": "0.76.2",
    "react-native-reanimated": "^3.16.1",
    "react-native-safe-area-context": "4.14.0",
    "react-native-screens": "^4.0.0",
    "react-native-svg": "15.9.0",
    "react-native-web": "~0.19.6",
    "typescript": "~5.6.3"
  }
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant