forked from colmtuite/styleguide-export
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.react.js
More file actions
29 lines (24 loc) · 921 Bytes
/
Copy pathApp.react.js
File metadata and controls
29 lines (24 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React from 'react';
import Sidebar from '~/Sidebar.react';
import SidebarLogo from '~/components/SidebarLogo.react';
export default function App(props) {
return (
<div>
<Sidebar />
<div className="main-content">
<div className="breakPointM-display-none" style={{ height: '70px' }}></div>
<div className="posFixTL zi-chrome bg-white width-100 textAlign-center boxShadow-close breakPointM-display-none" style={{ height: '70px' }}>
<div className="display-table width-100 height-100">
<div className="display-tableCell verticalAlign-middle">
<SidebarLogo />
</div>
</div>
</div>
{props.children}
</div>
</div>
);
}
App.propTypes = {
children: React.PropTypes.node,
};