Browse Source

Add missing comma (,) between propTypes and render

Add missing comma (,) between `propTypes` and `render`
main
Trinh Hoang Nhu 9 years ago
parent
commit
4e3b283f30
  1. 2
      docs/10.6-create-fragment.md

2
docs/10.6-create-fragment.md

@ -18,7 +18,7 @@ var Swapper = React.createClass({
rightChildren: React.PropTypes.node,
swapped: React.PropTypes.bool
}
},
render: function() {
var children;
if (this.props.swapped) {

Loading…
Cancel
Save