+ client: add DNS privacy tab to setup guide

This commit is contained in:
Ildar Kamalov
2019-07-02 15:45:39 +03:00
committed by Simon Zolin
parent 425f3c87d0
commit 5c7c9964b8
8 changed files with 255 additions and 16 deletions

View File

@@ -11,6 +11,7 @@ class Tab extends Component {
const {
activeTab,
label,
title,
} = this.props;
const tabClass = classnames({
@@ -26,7 +27,7 @@ class Tab extends Component {
<svg className="tab__icon">
<use xlinkHref={`#${label.toLowerCase()}`} />
</svg>
{label}
{title || label}
</div>
);
}
@@ -36,6 +37,7 @@ Tab.propTypes = {
activeTab: PropTypes.string.isRequired,
label: PropTypes.string.isRequired,
onClick: PropTypes.func.isRequired,
title: PropTypes.string,
};
export default Tab;