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

Text.Icon default props warning on Android and IOS #4412

Closed
stakez opened this issue May 17, 2024 · 1 comment
Closed

Text.Icon default props warning on Android and IOS #4412

stakez opened this issue May 17, 2024 · 1 comment
Labels

Comments

@stakez
Copy link

stakez commented May 17, 2024

Current behaviour

Building both IOS and Android show the following warning

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

Expected behaviour

No warnings

How to reproduce?

Preview

What have you tried so far?

Your Environment

software version
ios x
android x
react-native x.x.x
react-native-paper x.x.x
node x.x.x
npm or yarn x.x.x
expo sdk x.x.x
@stakez stakez added the bug label May 17, 2024
@raajnadar
Copy link
Collaborator

#4385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants