mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 20:53:08 +00:00
Fix fragments docs example JSX typo (#10885)
Fixes https://github.com/facebook/react/issues/10883
This commit is contained in:
@@ -114,9 +114,9 @@ You can also return multiple items from `render()` using an array:
|
||||
```javascript
|
||||
render() {
|
||||
return [
|
||||
<li key="A"/>First item</li>,
|
||||
<li key="B"/>Second item</li>,
|
||||
<li key="C"/>Third item</li>,
|
||||
<li key="A">First item</li>,
|
||||
<li key="B">Second item</li>,
|
||||
<li key="C">Third item</li>,
|
||||
];
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user