Skip to content

Commit

Permalink
Merge pull request #286 from cuongcua90/patch-1
Browse files Browse the repository at this point in the history
handle onClick for menuItem
  • Loading branch information
Hai Nguyen committed Feb 3, 2015
2 parents 015f2e2 + c423c18 commit 908f606
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/js/menu-item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ var MenuItem = React.createClass({
<div
key={this.props.index}
className={classes}
onTouchTap={this._handleTouchTap}>
onTouchTap={this._handleTouchTap}
onClick={this._handleTouchTap}>

{icon}
{this.props.children}
Expand All @@ -93,4 +94,4 @@ var MenuItem = React.createClass({

});

module.exports = MenuItem;
module.exports = MenuItem;

0 comments on commit 908f606

Please sign in to comment.