This commit is contained in:
mgabdev
2020-03-24 00:39:12 -04:00
parent 65af72faae
commit 0d9dbdfecd
79 changed files with 1847 additions and 946 deletions

View File

@@ -1,12 +1,22 @@
import SettingsLayout from '../layouts/settings_layout'
export default class SettingsPage extends PureComponent {
static propTypes = {
tabs: PropTypes.array,
title: PropTypes.string,
}
render() {
const { children } = this.props;
const { children, title, tabs } = this.props;
return (
<div>
<SettingsLayout
title={title}
tabs={tabs}
>
{children}
</div>
</SettingsLayout>
)
}
}