gab-social/app/javascript/gabsocial/pages/settings_page.js
2020-03-24 00:39:12 -04:00

22 lines
373 B
JavaScript

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