@hyper-fetch/react
Version:
React hooks and utils for the hyper-fetch
13 lines • 426 B
TypeScript
import { ProviderProps, ProviderValueType } from './provider.types';
/**
* Provider with configuration for hooks
* @param options
* @returns
*/
export declare const Provider: ({ children, config }: ProviderProps) => import("react/jsx-runtime").JSX.Element;
/**
* Hook to allow reading current context config
* @returns
*/
export declare const useProvider: () => ProviderValueType;
//# sourceMappingURL=provider.d.ts.map