22 lines
373 B
JavaScript
Raw Normal View History

2020-03-24 00:39:12 -04:00
import SettingsLayout from '../layouts/settings_layout'
2020-02-24 16:56:07 -05:00
export default class SettingsPage extends PureComponent {
2020-03-24 00:39:12 -04:00
static propTypes = {
tabs: PropTypes.array,
title: PropTypes.string,
}
2020-02-24 16:56:07 -05:00
render() {
2020-03-24 00:39:12 -04:00
const { children, title, tabs } = this.props;
2020-02-24 16:56:07 -05:00
return (
2020-03-24 00:39:12 -04:00
<SettingsLayout
title={title}
tabs={tabs}
>
2020-02-24 16:56:07 -05:00
{children}
2020-03-24 00:39:12 -04:00
</SettingsLayout>
2020-02-24 16:56:07 -05:00
)
}
}