You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems your component support percentage value for its width and height, yet its still give warning that number expected instead of string. Should use PropTypes.oneOfType in your component instead just PropTypes.number
The text was updated successfully, but these errors were encountered:
Hi,
Seems your component support percentage value for its width and height, yet its still give warning that
number
expected instead ofstring
. Should usePropTypes.oneOfType
in your component instead justPropTypes.number
The text was updated successfully, but these errors were encountered: