12345678910111213141516171819202122232425262728 |
- /**
- * React Static Boilerplate
- * https://github.com/koistya/react-static-boilerplate
- * Copyright (c) Konstantin Tarkus (@koistya) | MIT license
- */
- import React, { Component, PropTypes } from 'react';
- import './Layout.scss';
- import Navigation from '../Navigation';
- class Layout extends Component {
- static propTypes = {
- children: PropTypes.element.isRequired,
- };
- render() {
- return (
- <div className="Layout">
- <Navigation />
- {this.props.children}
- </div>
- );
- }
- }
- export default Layout;
|