This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import * as React from 'react' | |
import type { DocumentNode } from 'graphql' | |
import type { QueryRenderProps } from 'react-apollo' | |
import { Query as ApolloQuery } from 'react-apollo' | |
type QueryProps = { | |
query: DocumentNode, | |
children: (QueryRenderProps<any, any>) => React.Node, | |
variables?: {}, |