Mark selected page in toolbar
Reviewed By: danielbuechele Differential Revision: D6976597 fbshipit-source-id: 280623b4dbf18eb008da846077fc8f5277eccc09
This commit is contained in:
committed by
Facebook Github Bot
parent
96a87a811d
commit
b6a13ce43a
@@ -17,14 +17,13 @@ require('prismjs/themes/prism.css');
|
||||
|
||||
type Props = {|
|
||||
children: any,
|
||||
title?: string,
|
||||
className?: string,
|
||||
withSpacing?: boolean,
|
||||
|};
|
||||
|
||||
export default (props: Props) => (
|
||||
<div className={`Page ${props.className || ''}`}>
|
||||
<Toolbar />
|
||||
<Toolbar/>
|
||||
<div className={`PageContent ${props.withSpacing ? 'withSpacing' : ''}`}>
|
||||
{props.children}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user