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

Open
nirajniroula opened this issue Sep 17, 2024 · 1 comment
Open

Support for defaultProps will be removed #49

nirajniroula opened this issue Sep 17, 2024 · 1 comment

Comments

@nirajniroula
Copy link

Using the "react-native-leaflet-view": "^0.1.2", I'm getting the following warning.

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

The map is rendered normally though.

@devesmee
Copy link
Contributor

Hey, I created a PR for this, hope it will be approved and merged soon.

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