UNPKG

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