rickvanlieshout.com/pages/_template.jsx
Simon Reinsperger a1cee07124 refactor: fixing linting error in pages/_template.jsx
adds react/forbid-prop-types to be ignored in eslintrc
could be added in an additional refactoring round
right now, I'm not sure what to choose as proptypes...
2017-03-08 17:08:19 +01:00

24 lines
403 B
JavaScript

import React from 'react';
import '../static/css/reset.css';
import '../static/css/typography.css';
import '../static/css/base.css';
class Template extends React.Component {
render() {
const { children } = this.props;
return (
<div className="wrapper">
{children}
</div>
);
}
}
Template.propTypes = {
children: React.PropTypes.any,
};
export default Template;