Added functionality to pages, layout for use with sidebar promotions
• Added: - functionality to pages, layout for use with sidebar promotions • Updated: - pages, layouts to use StatusPromotionPanel
This commit is contained in:
@@ -6,9 +6,10 @@ export default class DefaultLayout extends PureComponent {
|
||||
actions: PropTypes.array,
|
||||
children: PropTypes.node.isRequired,
|
||||
layout: PropTypes.object,
|
||||
showBackBtn: PropTypes.bool,
|
||||
noComposeButton: PropTypes.bool,
|
||||
noRightSidebar: PropTypes.bool,
|
||||
page: PropTypes.string,
|
||||
showBackBtn: PropTypes.bool,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string.isRequired,
|
||||
}
|
||||
@@ -18,22 +19,24 @@ export default class DefaultLayout extends PureComponent {
|
||||
actions,
|
||||
children,
|
||||
layout,
|
||||
noComposeButton,
|
||||
noRightSidebar,
|
||||
page,
|
||||
showBackBtn,
|
||||
tabs,
|
||||
title,
|
||||
noComposeButton,
|
||||
noRightSidebar,
|
||||
} = this.props
|
||||
|
||||
return (
|
||||
<Layout
|
||||
actions={actions}
|
||||
layout={layout}
|
||||
noComposeButton={noComposeButton}
|
||||
noRightSidebar={noRightSidebar}
|
||||
page={page}
|
||||
showBackBtn={showBackBtn}
|
||||
tabs={tabs}
|
||||
title={title}
|
||||
noComposeButton={noComposeButton}
|
||||
noRightSidebar={noRightSidebar}
|
||||
>
|
||||
{children}
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user