react-ionicons icon indicating copy to clipboard operation
react-ionicons copied to clipboard

Warning Support for defaultProps will be removed

Open pdhoward opened this issue 2 years ago • 0 comments

Hi - I appreciate your opensource project - very nice of icons and easy to deploy.

However, there is now a really huge warning being consoled on every icon rendered. It reads in part

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

Is there a fix coming for this in react-ioncions or should we be migrating to another package? Any help or direction here would be appreciated

pdhoward avatar Jun 13 '23 18:06 pdhoward