UNPKG

react-http-fetch

Version:

An http library for React JS built on top of native JS fetch

8 lines (7 loc) 365 B
import { ReactElement } from 'react'; import { HttpClientProviderConfig } from '../..'; export declare class HttpClientProviderConfigFixture { static create<HttpRequestBodyT = void, HttpResponseT = unknown>(options?: Partial<HttpClientProviderConfig<HttpRequestBodyT, HttpResponseT>>): ({ children }: { children: ReactElement; }) => ReactElement; }