mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #4363 from tako-black/change_css_to_uppercase
Change `css` to uppercase
(cherry picked from commit fa7aeb65ac)
This commit is contained in:
@@ -216,7 +216,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 become properties of the rendered component. For example, here's how you would 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