UNPKG

640 BTypeScriptView Raw
1/// <reference types="react" />
2import * as PropTypes from 'prop-types';
3import { OperationVariables } from '../../core';
4import { QueryComponentOptions } from './types';
5export declare function Query<TData = any, TVariables extends OperationVariables = OperationVariables>(props: QueryComponentOptions<TData, TVariables>): JSX.Element | null;
6export declare namespace Query {
7 var propTypes: PropTypes.InferProps<QueryComponentOptions<any, any>>;
8}
9export interface Query<TData, TVariables extends OperationVariables> {
10 propTypes: PropTypes.InferProps<QueryComponentOptions<TData, TVariables>>;
11}
12//# sourceMappingURL=Query.d.ts.map
\No newline at end of file