rickvanlieshout.com/pages/_template.jsx

27 lines
592 B
React
Raw Normal View History

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