014e476b5d
• Updated: - pages, layout component structures
30 lines
435 B
JavaScript
30 lines
435 B
JavaScript
import SettingsLayout from '../layouts/settings_layout'
|
|
|
|
class SettingsPage extends PureComponent {
|
|
|
|
render() {
|
|
const {
|
|
children,
|
|
tabs,
|
|
title,
|
|
} = this.props
|
|
|
|
return (
|
|
<SettingsLayout
|
|
title={title}
|
|
tabs={tabs}
|
|
>
|
|
{children}
|
|
</SettingsLayout>
|
|
)
|
|
}
|
|
|
|
}
|
|
|
|
SettingsPage.propTypes = {
|
|
children: PropTypes.node.isRequired,
|
|
tabs: PropTypes.array,
|
|
title: PropTypes.string,
|
|
}
|
|
|
|
export default SettingsPage |