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
It's very common in the React world to use React.PropTypes not just for validation of component's props but also to have a clear picture of all the props that a component manage and for documentation.
In getDefaultProps is better to define just conditional props since mandatory props will be in any case overwritten.
An inspiration can be found on the PR I submitted #29
The text was updated successfully, but these errors were encountered:
A breaking change as far as I can see would be that the radius is required as a number, not a String as it is now. What else would be affected? Would like to bundle breaking changes for a master release.
It's very common in the React world to use React.PropTypes not just for validation of component's props but also to have a clear picture of all the props that a component manage and for documentation.
In getDefaultProps is better to define just conditional props since mandatory props will be in any case overwritten.
An inspiration can be found on the PR I submitted #29
The text was updated successfully, but these errors were encountered: