Skip to content

Commit 0a94499

Browse files
committed
propagate events in Tab
1 parent d92350f commit 0a94499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/tabs/Tab.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class TabHeader extends React.Component {
2626
}
2727
}
2828

29-
handleClick = () => {
29+
handleClick = (event) => {
3030
if (!this.props.disabled && this.props.onClick) {
31-
this.props.onClick();
31+
this.props.onClick(event);
3232
}
3333
};
3434

0 commit comments

Comments
 (0)