Internet Connection Alert For React Native

A fully customizable React Native component to detect internet connection and display an alert if the connection is offline.

Install & Import:

$ npm i react-native-internet-connection-alert --save
import InternetConnectionAlert from "react-native-internet-connection-alert";

Basic Usage:

  onChange={(connectionState) => {
    console.log("Connection State: ", connectionState);

Available props:

// "info" | "warn" | "error" | "custom" | "success"
type: DropdownAlertType;

// alert title
title: string;

// alert message
message: string;

// interval
interval?: number;

// callback
onChange: (state: NetInfoState) => void;


Internet Connection Alert For React Native

Download Details:

Author: WrathChaos

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License: MIT

Add Comment