Merge pull request #1816 from micellius/patch-1

docs(jsx.md): add missing "!"
This commit is contained in:
Isiah Meadows 2017-04-27 12:18:54 -04:00 committed by GitHub
commit 46330d7f97

View file

@ -39,7 +39,7 @@ When using JSX, it's possible to interpolate Javascript expressions within JSX t
var greeting = "Hello"
var url = "http://google.com"
var link = <a href={url}>{greeting + "!"}</a>
// yields <a href="http://google.com">Hello</a>
// yields <a href="http://google.com">Hello!</a>
```
Components can be used by using a convention of uppercasing the first letter of the component name: