Closed dozoisch closed 9 years ago
My bad, I noticed I defined defaultProps as I normally do for es6 classes, but this is a react.createClass so it has to be defined as a function!
https://facebook.github.io/react/docs/reusable-components.html#default-prop-values
No worries, I'll merge and issue a patch.
Merged and patched
My bad, I noticed I defined defaultProps as I normally do for es6 classes, but this is a react.createClass so it has to be defined as a function!
https://facebook.github.io/react/docs/reusable-components.html#default-prop-values