Skip to content

Commit 88a1b46

Browse files
committed
Update README.md
1 parent ad74532 commit 88a1b46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You write:
1818
var Profile = React.createClass({
1919
render: function () {
2020
return (
21-
<InlineCss stylesheet="
21+
<InlineCss stylesheet={`
2222
& .card {
2323
cursor: pointer;
2424
margin: 15px;
@@ -33,7 +33,7 @@ var Profile = React.createClass({
3333
& p {
3434
margin: 10px;
3535
}
36-
">
36+
`}>
3737
<div className="card">
3838
<img src="mao.jpg" />
3939
<p>Mao</p>

0 commit comments

Comments
 (0)