@samitouri / QOS-React / commits / 92665e2cb1

Fix casing typo in jsx-in-depth.md (#8542)

comerc committed Dec 11, 2016 at 16:43 UTC 92665e2cb10598604d47d368e093f0606370768b
1 file changed +1 -1
docs/docs/jsx-in-depth.md
+1 -1
@@ -180,7 +180,7 @@ You can pass any JavaScript expression as a prop, by surrounding it with `{}`. F
180 <MyComponent foo={1 + 2 + 3 + 4} />
181 ```
182
183 -For `MyComponent`, The value of `props.foo` will be `10` because the expression `1 + 2 + 3 + 4` gets evaluated.
183 +For `MyComponent`, the value of `props.foo` will be `10` because the expression `1 + 2 + 3 + 4` gets evaluated.
184
185 `if` statements and `for` loops are not expressions in JavaScript, so they can't be used in JSX directly. Instead, you can put these in the surrounding code. For example:
186