GatsbyCentral/gatsby-v2-starter-lumen

View on GitHub
src/components/Layout/index.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react'
import Helmet from 'react-helmet'
import '../../assets/scss/init.scss'

class Layout extends React.Component {
  render() {
    const { children } = this.props

    return (
      <div className="layout">
        <Helmet defaultTitle="Blog by John Doe" />
        {children}
      </div>
    )
  }
}

export default Layout