UNPKG

@supunlakmal/hooks

Version:

A collection of reusable React hooks

6 lines (5 loc) 221 B
import { FetchState } from './useFetch'; interface PostOptions extends Omit<RequestInit, 'method'> { } export declare const usePost: <T>(url: string | null | undefined, options?: PostOptions) => FetchState<T>; export {};