code4rena-dev / components-library

Components library for Code4rena, and accessible as a package to be used in React based Code4rena products.
https://components-library-wine.vercel.app
0 stars 0 forks source link

DefaultProps removing support #30

Closed SamusElderg closed 9 months ago

SamusElderg commented 10 months ago

As per: Warning: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. error message spam in dev env when using any components from this library, we should switch all defaultProps implementations to setting defaults where they are declared

SamusElderg commented 9 months ago

Closing this as it will be solved once dev -> main