mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
1 parent
bf3d1ee84d
commit
5f72c6640e
1 file changed
+1
-1
@@ -175,7 +175,7 @@ Every DOM component that React can render is available for use. However, `compon
|
||||
>
|
||||
> Prior to v0.12, when using DOM components, the `component` prop needed to be a reference to `React.DOM.*`. Since the component is simply passed to `React.createElement`, it must now be a string. Composite components must pass the factory.
|
||||
|
||||
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:
|
||||
Any additional, user-defined, properties will become properties of the rendered component. For example, here's how you would render a `<ul>` with css class:
|
||||
|
||||
```javascript{1}
|
||||
<ReactTransitionGroup component="ul" className="animated-list">
|
||||
|
||||
Reference in new issue
Block a user