Open KhrystynaPeryk opened 2 months ago
+1
I am so facing with the same problem. Please resolve issue.
+1
+1
+1
+1
+1
+1
+1 Meanwhile, I'm using this to suppress that error
const error = console.error;
console.error = (...args: any) => {
if (/defaultProps/.test(args[0])) return;
error(...args);
};
Same problem. Please help!
+1
+1
Issue Description
When using CountryPicker, there are lots of errors in the console regarding defaultProps:
Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Steps to Reproduce / Code Snippets
Install the package in bare expo project Import and use CountryPicker component
Expected Results
No errors in console
Additional Information