Skip to content

Commit

Permalink
Merge pull request #8 from viewsdx/temp-lits-update
Browse files Browse the repository at this point in the history
fix: no backticks template literals
  • Loading branch information
Darío Javier Cravero committed Nov 28, 2017
2 parents 60d75d5 + 25fc153 commit 73d6ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ etc. And colours. Oh yeah, `deepskyblue` and `deeppink`. Now we're talking.
For the Irish, British and Australians in the world, remember that the prop is
`color` and not `colour`. 🤐.

To embed props in a string use template literals, e.g.
To embed props in a string, use template literals (backticks are not needed) e.g.
```
Text
text `Welcome ${props.username}`
text Welcome ${props.username}
```

![composition model - content blocks poster](images/PosterContentBlocks.jpg)
Expand Down

0 comments on commit 73d6ff3

Please sign in to comment.