0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Pass click events to click handler

This commit is contained in:
Trevor Buckner
2024-05-28 16:25:39 -04:00
parent dcd34ccdaf
commit 7fb23c7362

View File

@@ -47,8 +47,8 @@ const Nav = {
color : null
};
},
handleClick : function(){
this.props.onClick();
handleClick : function(e){
this.props.onClick(e);
},
render : function(){
const classes = cx('navItem', this.props.color, this.props.className);