This commit is contained in:
mgabdev
2020-05-03 01:22:49 -04:00
parent 196a906cec
commit 055b5a430f
85 changed files with 1110 additions and 1051 deletions

View File

@@ -1,32 +1,33 @@
import Layout from './layout'
export default class DefaultLayout extends PureComponent {
static propTypes = {
actions: PropTypes.array,
tabs: PropTypes.array,
children: PropTypes.node.isRequired,
layout: PropTypes.object,
showBackBtn: PropTypes.bool,
tabs: PropTypes.array,
title: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
}
render() {
const {
children,
title,
showBackBtn,
layout,
actions,
children,
layout,
showBackBtn,
tabs,
} = this.props
title,
} = this.props
return (
<Layout
title={title}
showBackBtn={showBackBtn}
actions={actions}
tabs={tabs}
layout={layout}
showBackBtn={showBackBtn}
tabs={tabs}
title={title}
>
{children}
</Layout>