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