Soichiro Miki
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
beta/src/pages/learn/your-first-component.md
|
|
@ -102,7 +102,7 @@ Return statements can be written all on one line, as in this component: |
|
|
|
return <img src="https://i.imgur.com/MK3eW3As.jpg" alt="Katherine Johnson" />; |
|
|
|
``` |
|
|
|
|
|
|
|
But if your markup isn't all on the same line as the return statement, you must wrap it in a pair of parentheses like this: |
|
|
|
But if your markup isn't all on the same line as the `return` keyword, you must wrap it in a pair of parentheses like this: |
|
|
|
|
|
|
|
```js |
|
|
|
return ( |
|
|
|