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:
mgabdev
2020-07-15 23:05:08 -05:00
parent 15c7ff1eba
commit 06d85fe8d8
18 changed files with 147 additions and 128 deletions

View File

@@ -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>