@samitouri / QOS-React-2 / commits / 9f6f7b3520

Fix fragments docs example JSX typo (#10885)

Fixes https://github.com/facebook/react/issues/10883

Ivan Babak committed Sep 27, 2017 at 11:28 UTC 9f6f7b3520a6c1c57489feb5e55abbc0047aee10
1 file changed +3 -3
docs/docs/reference-react-component.md
+3 -3
@@ -114,9 +114,9 @@ You can also return multiple items from `render()` using an array:
114 ```javascript
115 render() {
116 return [
117 - <li key="A"/>First item</li>,
118 - <li key="B"/>Second item</li>,
119 - <li key="C"/>Third item</li>,
117 +    <li key="A">First item</li>,
118 +    <li key="B">Second item</li>,
119 +    <li key="C">Third item</li>,
120 ];
121 }
122 ```