progress
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user