@samitouri / QOS-React-2 / commits / f7cb6cbe15

Fix erroneous '}' in JSX examples (#8043)

Nathan Hardy committed Oct 23, 2016 at 07:45 UTC f7cb6cbe15b3630ac620ee4b964b7f3c0cc5b586
2 files changed +6 -6
docs/docs/jsx-in-depth.md
+1 -1
@@ -70,7 +70,7 @@ var MyComponents = {
70 }
71
72 function BlueDatePicker() {
73 - return <MyComponents.DatePicker color="blue"} />;
73 + return <MyComponents.DatePicker color="blue" />;
74 }
75 ```
76
docs/docs/reconciliation.md
+5 -5
@@ -117,14 +117,14 @@ In order to solve this issue, React supports a `key` attribute. When children ha
117
118 ```xml
119 <ul>
120 - <li key="2015"}>Duke</li>
121 - <li key="2016"}>Villanova</li>
120 + <li key="2015">Duke</li>
121 + <li key="2016">Villanova</li>
122 </ul>
123
124 <ul>
125 - <li key="2014"}>Connecticut</li>
126 - <li key="2015"}>Duke</li>
127 - <li key="2016"}>Villanova</li>
125 + <li key="2014">Connecticut</li>
126 + <li key="2015">Duke</li>
127 + <li key="2016">Villanova</li>
128 </ul>
129 ```
130