Added noRightSidebar prop to DefaultLayout

• Added:
- noRightSidebar prop to DefaultLayout
This commit is contained in:
mgabdev 2020-06-09 16:51:04 -04:00
parent 88080f70cb
commit c0aa3dfb92

View File

@ -8,6 +8,7 @@ export default class DefaultLayout extends PureComponent {
layout: PropTypes.object, layout: PropTypes.object,
showBackBtn: PropTypes.bool, showBackBtn: PropTypes.bool,
noComposeButton: PropTypes.bool, noComposeButton: PropTypes.bool,
noRightSidebar: PropTypes.bool,
tabs: PropTypes.array, tabs: PropTypes.array,
title: PropTypes.string.isRequired, title: PropTypes.string.isRequired,
} }
@ -21,6 +22,7 @@ export default class DefaultLayout extends PureComponent {
tabs, tabs,
title, title,
noComposeButton, noComposeButton,
noRightSidebar,
} = this.props } = this.props
return ( return (
@ -31,6 +33,7 @@ export default class DefaultLayout extends PureComponent {
tabs={tabs} tabs={tabs}
title={title} title={title}
noComposeButton={noComposeButton} noComposeButton={noComposeButton}
noRightSidebar={noRightSidebar}
> >
{children} {children}
</Layout> </Layout>