We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7527953 commit ea479dbCopy full SHA for ea479db
src/Carousel.jsx
@@ -173,7 +173,7 @@ var Carousel = React.createClass({
173
},
174
175
renderControls: function () {
176
- if (this.props.wrap) {
+ if (!this.props.wrap) {
177
var activeIndex = this.getActiveIndex();
178
var count = ValidComponentChildren.numberOf(this.props.children);
179
@@ -286,4 +286,4 @@ var Carousel = React.createClass({
286
}
287
});
288
289
-module.exports = Carousel;
+module.exports = Carousel;
0 commit comments