update click message
Alex Smith committed
Jun 26, 2015 at 13:39 UTC
e58d31022c9f639412a9969fbc75951f19c74029
1 file changed
+2
-1
examples/basic-click-counter/Index.html
+2
-1
@@ -14,7 +14,8 @@
14
this.setState({clickCount: ++selfClickNumber});
15
},
16
render: function () {
17
- return React.DOM.h2({onClick: this.handleClick}, 'Count number: '+this.state.clickCount);
17
+ return React.DOM.h2({onClick: this.handleClick},
18
+ 'Click me! Number of clicks: '+this.state.clickCount);
19
}
20
});
21
</script>