mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
a1cee07124
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...
24 lines
403 B
JavaScript
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;
|