Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a154c95

Browse files
committed
Merge pull request facebook#2373 from genbit/docs-animation-props
Update 09.1-animation.md
1 parent 5bfae83 commit a154c95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/docs/09.1-animation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,11 @@ By default `ReactTransitionGroup` renders as a `span`. You can change this behav
175175
```
176176

177177
Every DOM component is under `React.DOM`. However, `component` does not need to be a DOM component. It can be any React component you want; even ones you've written yourself!
178+
179+
Any additional, user-defined, properties will be become properties of the rendered component. For example, here's how you would you render a `<ul>` with css class:
180+
181+
```javascript{1}
182+
<ReactTransitionGroup component={React.DOM.ul} className="animated-list">
183+
...
184+
</ReactTransitionGroup>
185+
```

0 commit comments

Comments
 (0)