Merge pull request #1816 from micellius/patch-1
docs(jsx.md): add missing "!"
This commit is contained in:
commit
46330d7f97
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue