This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
2017-04-05 16:46:46 -04:00
|
|
|
import React, { PureComponent } from 'react';
|
2017-04-05 16:15:35 -04:00
|
|
|
|
2017-04-05 16:46:46 -04:00
|
|
|
export default class App extends PureComponent {
|
2017-04-05 16:15:35 -04:00
|
|
|
render() {
|
|
|
|
return (
|
2017-04-05 16:46:46 -04:00
|
|
|
<div className="window">
|
|
|
|
<header className="toolbar toolbar-header">
|
|
|
|
<h1 className="title">Header</h1>
|
|
|
|
</header>
|
|
|
|
<main className="window-content">
|
|
|
|
{this.props.children}
|
|
|
|
</main>
|
|
|
|
<footer className="toolbar toolbar-footer">
|
|
|
|
<h1 className="title">Footer</h1>
|
|
|
|
</footer>
|
2017-04-05 16:15:35 -04:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|