Skip to content

Commit

Permalink
propagate events in Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
kagux committed Jan 22, 2016
1 parent d92350f commit 0a94499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tabs/Tab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class TabHeader extends React.Component {
}
}

handleClick = () => {
handleClick = (event) => {
if (!this.props.disabled && this.props.onClick) {
this.props.onClick();
this.props.onClick(event);
}
};

Expand Down

0 comments on commit 0a94499

Please sign in to comment.