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
Take the Rating example from the docs: <Rating maxRating={5} defaultRating={3} icon='star' size='mini' />
Expected Result
It works without warning.
Actual Result
React throws a warning: Warning: Setting defaultProps as an instance property on RatingIcon is not supported and will be ignored. Instead, define defaultProps as a static property on RatingIcon.
Version
0.72.0 + React 16.0.0-rc.2
The text was updated successfully, but these errors were encountered:
Steps
Take the Rating example from the docs:
<Rating maxRating={5} defaultRating={3} icon='star' size='mini' />
Expected Result
It works without warning.
Actual Result
React throws a warning:
Warning: Setting defaultProps as an instance property on RatingIcon is not supported and will be ignored. Instead, define defaultProps as a static property on RatingIcon.
Version
0.72.0 + React 16.0.0-rc.2
The text was updated successfully, but these errors were encountered: