-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TextInput.Icon: Support for defaultProps will be removed from function components in a future major release. #4382
Comments
I am facing the same. Will this deprecate ? If yes, then what I should use instead? |
same issue #4386 |
same issue, same environment |
same issue here, any way to fix this? |
You can ignore the warning until the following PR is merged and released #4385 |
i handle this warning
|
Confirmed this works, thanks man! |
If I ignore this, will the error prevent me from publishing my app? |
still getting same issue |
Same issue |
Before this current PR is merged and you really need this update up, you can use patch-package to apply a patch to the If you are using yarn:
You can verify your patch by installing the package again and checking if the changes you made are correctly applied to the
|
Current behaviour
Warning: TextInput.Icon: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Expected behaviour
No warning.
Your Environment
The text was updated successfully, but these errors were encountered: