UNPKG

@shopify/react-graphql

Version:

Tools for creating type-safe and asynchronous GraphQL components for React

7 lines 356 B
/// <reference types="react" /> import type { QueryProps } from './types'; export type Props<T> = Pick<QueryProps<T>, 'query' | 'variables' | 'onError' | 'onCompleted' | 'pollInterval'> & { ignoreCache?: boolean; }; export declare function Prefetch<T extends {}>({ ignoreCache, ...props }: Props<T>): JSX.Element; //# sourceMappingURL=Prefetch.d.ts.map