Update tutorial.md (#9051)

(cherry picked from commit d724aed404)
This commit is contained in:
Dai Nguyen
2017-03-09 20:44:05 +00:00
committed by Dan Abramov
parent d6842d3140
commit c04ced9c7e
+1 -1
View File
@@ -90,7 +90,7 @@ After: You should see a number in each square in the rendered output.
##An Interactive Component
Let's make the Square component fill in an "X" when you click it. Try changing the opening tag returned in the `render()` function of the `Square` class to:
Let's make the Square component fill in an "X" when you click it. Try changing the opening button tag returned in the `render()` function of the `Square` class to:
```html
<button className="square" onClick={() => alert('click')}>