rickvanlieshout.com/pages/_template.jsx
2017-02-05 18:45:57 +03:00

28 lines
630 B
JavaScript

import React from 'react'
import { Link } from 'react-router'
import { prefixLink } from 'gatsby-helpers'
import { config } from 'config'
import '../static/css/reset.css'
import '../static/css/typography.css'
import '../static/css/base.css'
class Template extends React.Component {
render() {
const {location, children} = this.props
return (
<div className='wrapper'>
{ children }
</div>
);
}
}
Template.propTypes = {
children: React.PropTypes.any,
location: React.PropTypes.object,
route: React.PropTypes.object,
}
export default Template