We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be03fa7 + 0447f1e commit 4504504Copy full SHA for 4504504
examples/transitions/index.html
@@ -54,10 +54,10 @@ <h4>Example Details</h4>
54
var children = [];
55
var pos = 0;
56
var colors = ['red', 'gray', 'blue'];
57
- for (var i = this.state.current; i < this.state.current + 3; i++) {
+ for (var i = this.state.current; i < this.state.current + colors.length; i++) {
58
var style = {
59
left: pos * 128,
60
- background: colors[i % 3]
+ background: colors[i % colors.length]
61
};
62
pos++;
63
children.push(<div key={i} className="animateItem" style={style}>{i}</div>);
0 commit comments