You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/09.1-animation.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ React provides a `ReactTransitionGroup` addon component as a low-level API for a
17
17
18
18
`ReactCSSTransitionGroup` is the interface to `ReactTransitions`. This is a simple element that wraps all of the components you are interested in animating. Here's an example where we fade list items in and out.
19
19
20
-
```javascript{22-24}
20
+
```javascript{30-32}
21
21
/** @jsx React.DOM */
22
22
23
23
var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;
@@ -33,7 +33,7 @@ var TodoList = React.createClass({
33
33
},
34
34
handleRemove: function(i) {
35
35
var newItems = this.state.items;
36
-
newItems.splice(i, 1)
36
+
newItems.splice(i, 1);
37
37
this.setState({items: newItems});
38
38
},
39
39
render: function() {
@@ -46,7 +46,7 @@ var TodoList = React.createClass({
0 commit comments