UNPKG

react-native-offline

Version:

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

8 lines (7 loc) 254 B
import { ReactNode } from 'react'; import { ConnectivityState } from '../types'; declare type Props = { children: (args: ConnectivityState) => ReactNode; }; export default function NetworkConsumer({ children }: Props): JSX.Element; export {};