Open saleh-b opened 9 months ago
+1
+1
+1
This issue is open for quite some time and as far as I can see it seems like a simple fix in the build/generate.js to default the color and size in the method header. I'm not familiar with this library and the way it is build, so would be great if one of the maintainers can actually change the behavior to remove the deprecated use of defaultprops.
I created PR https://github.com/Iconscout/react-unicons/pull/95 which addresses this warning.
Warning: UilTimesSquare: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
How do I deal with this?