import React from 'react' import { createFragmentContainer, graphql } from 'react-relay' const BlogPostPreview = props => { return (
{props.post.title}
) } export default createFragmentContainer(BlogPostPreview, { post: graphql` fragment BlogPostPreview_post on BlogPost { id title } ` })