Added noRightSidebar prop to DefaultLayout
• Added: - noRightSidebar prop to DefaultLayout
This commit is contained in:
parent
88080f70cb
commit
c0aa3dfb92
@ -8,6 +8,7 @@ export default class DefaultLayout extends PureComponent {
|
||||
layout: PropTypes.object,
|
||||
showBackBtn: PropTypes.bool,
|
||||
noComposeButton: PropTypes.bool,
|
||||
noRightSidebar: PropTypes.bool,
|
||||
tabs: PropTypes.array,
|
||||
title: PropTypes.string.isRequired,
|
||||
}
|
||||
@ -21,6 +22,7 @@ export default class DefaultLayout extends PureComponent {
|
||||
tabs,
|
||||
title,
|
||||
noComposeButton,
|
||||
noRightSidebar,
|
||||
} = this.props
|
||||
|
||||
return (
|
||||
@ -31,6 +33,7 @@ export default class DefaultLayout extends PureComponent {
|
||||
tabs={tabs}
|
||||
title={title}
|
||||
noComposeButton={noComposeButton}
|
||||
noRightSidebar={noRightSidebar}
|
||||
>
|
||||
{children}
|
||||
</Layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user