UNPKG

react-native-offline

Version:

Handy toolbelt to deal with offline mode in React Native applications. Cross-platform, provides a smooth redux integration.

10 lines (9 loc) 306 B
import { HTTPMethod, AddUndefined, HTTPHeaders } from '../types'; declare type Arguments = { url: string; timeout: number; method?: HTTPMethod; customHeaders: HTTPHeaders; }; export default function checkInternetAccess(args?: AddUndefined<Arguments>): Promise<boolean>; export {};