import React, { PureComponent } from 'react';

export default class App extends PureComponent {
	render() {
		return (
			<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>
			</div>
		);
	}
}
