Fix syntac error

Split {{ in example code to avoid an Exception in jekyll.
> Liquid Exception: Variable '{{' was not properly terminated with regexp: /\}\}/ in docs/10.1-animation.md
This commit is contained in:
iamchenxin
2015-09-24 23:46:22 +08:00
parent 5e9df47e04
commit 9e2bfb0df0

View File

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