Closed
Description
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 |