Skip to content

Commit

Permalink
update click message
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkScorpion committed Jun 26, 2015
1 parent 456135e commit e58d310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/basic-click-counter/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e58d310

Please sign in to comment.