text: export const QUERY = gql`
    query FindPostQuery($id: Int!) {
      post(id: $id) {
        id
        title
        body
        createdAt
      }
    }
  `
  
  export const Loading = () => <div>Loading...</div>
  
  export const Empty = () => <div>Empty</div>
  
  export const Failure = ({ error }) => (
    <div style={{ color: 'red' }}>Error: {error.message}</div>
  )
  
  export const Success = ({ post }) => {
    return <div>{JSON.stringify(post)}</div>
  }
  