UNPKG

@supunlakmal/hooks

Version:

A collection of reusable React hooks

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