text: import React from 'react'
  import PropTypes from 'prop-types'
  import { HomePageTemplate } from '../../templates/home-page'
  
  const HomePagePreview = ({ entry }) => (
    <HomePageTemplate
      title={entry.getIn(['data', 'title'])}
    />
  )
  
  HomePagePreview.propTypes = {
    entry: PropTypes.shape({
      getIn: PropTypes.func,
    })
  }
  
  export default HomePagePreview
  