rickvanlieshout.com/pages/_template.jsx

24 lines
403 B
React
Raw Normal View History

import React from 'react';
2016-03-11 23:28:19 +01:00
import '../static/css/reset.css';
import '../static/css/typography.css';
import '../static/css/base.css';
2016-03-11 23:28:19 +01:00
class Template extends React.Component {
render() {
const { children } = this.props;
2016-03-21 18:03:01 +01:00
return (
<div className="wrapper">
{children}
</div>
);
}
2016-03-11 23:28:19 +01:00
}
Template.propTypes = {
children: React.PropTypes.any,
};
2016-03-11 23:28:19 +01:00
export default Template;