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

TextInput.Icon: Support for defaultProps will be removed from function components in a future major release. #4382

Closed
yannick-softwerft opened this issue Apr 24, 2024 · 5 comments
Labels

Comments

@yannick-softwerft
Copy link

yannick-softwerft commented Apr 24, 2024

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.

image

Your Environment

software version
react-native 0.74.0
react-native-paper 5.12.3
node 18.18.0
npm or yarn 9.8.1
expo sdk No Expo
@choudhary-github
Copy link

I am facing the same. Will this deprecate ? If yes, then what I should use instead?

@zkteco-home
Copy link

same issue #4386

@sa1utep1z
Copy link

same issue, same environment

@keehui9292
Copy link

same issue here, any way to fix this?

@raajnadar
Copy link
Collaborator

You can ignore the warning until the following PR is merged and released #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

6 participants