text: import React from 'react'
  import PropTypes from 'prop-types'
  import { PortfolioPostTemplate } from '../../templates/portfolio-post'
  
  const PortfolioPostPreview = ({ entry, widgetFor }) => (
    <PortfolioPostTemplate
      content={widgetFor('body')}
      description={entry.getIn(['data', 'description'])}
      tags={entry.getIn(['data', 'tags'])}
      title={entry.getIn(['data', 'title'])}
      headerimage={entry.getIn(['data', 'headerimage'])}
  
    />
  )
  
  PortfolioPostPreview.propTypes = {
    entry: PropTypes.shape({
      getIn: PropTypes.func,
    }),
    widgetFor: PropTypes.func,
  }
  
  export default PortfolioPostPreview
  