Browse Source

Fix syntax errors

main
Paolo Moretti 9 years ago
parent
commit
f860ee7596
  1. 8
      docs/10.1-animation.md

8
docs/10.1-animation.md

@ -122,23 +122,23 @@ It is also possible to use custom class names for each of the steps in your tran
```javascript ```javascript
... ...
<ReactCSSTransitionGroup <ReactCSSTransitionGroup
transitionName={ transitionName={{
enter: 'enter', enter: 'enter',
enterActive: 'enterActive', enterActive: 'enterActive',
leave: 'leave', leave: 'leave',
leaveActive: 'leaveActive', leaveActive: 'leaveActive',
appear: 'appear', appear: 'appear',
appearActive: 'appearActive' appearActive: 'appearActive'
}> }}>
{item} {item}
</ReactCSSTransitionGroup> </ReactCSSTransitionGroup>
<ReactCSSTransitionGroup <ReactCSSTransitionGroup
transitionName={ transitionName={{
enter: 'enter', enter: 'enter',
leave: 'leave', leave: 'leave',
appear: 'appear' appear: 'appear'
}> }}>
{item2} {item2}
</ReactCSSTransitionGroup> </ReactCSSTransitionGroup>
... ...

Loading…
Cancel
Save