Browse Source

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
main
iamchenxin 9 years ago
parent
commit
9e2bfb0df0
  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