update click message

This commit is contained in:
Alex Smith
2015-06-26 13:39:59 +09:00
parent e5f65d4fe0
commit fb9aeef0c7
+2 -1
View File
@@ -14,7 +14,8 @@
this.setState({clickCount: ++selfClickNumber});
},
render: function () {
return React.DOM.h2({onClick: this.handleClick}, 'Count number: '+this.state.clickCount);
return React.DOM.h2({onClick: this.handleClick},
'Click me! Number of clicks: '+this.state.clickCount);
}
});
</script>