Javi Velasco 2016-08-22 22:32:15 +02:00
parent 13d2590205
commit b528ab1191
1 changed files with 4 additions and 1 deletions

View File

@ -109,7 +109,10 @@ const factory = (Tab, TabContent) => {
id: idx,
key: idx,
active: this.props.index === idx,
onClick: this.handleHeaderClick
onClick: event => {
this.handleHeaderClick(event);
item.props.onClick && item.props.onClick(event);
}
});
});
}