Add classes to tabbar, tab

This commit is contained in:
StephanieDClark
2017-06-05 12:37:13 -07:00
committed by GitHub
parent 547547d04c
commit 32fe291847
@@ -41,10 +41,10 @@ export default class Embed extends React.Component {
return (
<div>
<div className="commentStream">
<TabBar onChange={this.changeTab} activeTab={activeTab}>
<Tab><Count count={totalCommentCount} /></Tab>
<Tab>{t('framework.my_profile')}</Tab>
<Tab restricted={!can(user, 'UPDATE_CONFIG')}>{t('framework.configure_stream')}</Tab>
<TabBar onChange={this.changeTab} activeTab={activeTab} cNames="tabbar">
<Tab cNames={`comment-count`}><Count count={totalCommentCount} /></Tab>
<Tab cNames={`my-comments`}>{t('framework.my_profile')}</Tab>
<Tab cNames={`comment-configuration`} restricted={!can(user, 'UPDATE_CONFIG')}>{t('framework.configure_stream')}</Tab>
</TabBar>
{commentId &&
<Button