propagate events in Tab
parent
d92350ff3a
commit
0a944994a1
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue