UNPKG

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