react-apollo
Version:
React data container for Apollo Client
9 lines (8 loc) • 332 B
TypeScript
/// <reference types="react" />
import * as React from 'react';
import ApolloClient from 'apollo-client';
export interface ApolloConsumerProps {
children: (client: ApolloClient<any>) => React.ReactElement<any> | null;
}
declare const ApolloConsumer: React.StatelessComponent<ApolloConsumerProps>;
export default ApolloConsumer;