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,
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user