Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 474 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 474 Bytes

React Offline Notify

A toast notifier to indicate if there's no internet connectivity.

Usage

import ConnectionToast from 'react-offline-notify'

Props

Prop Type Description Default
onlineText String message when user is back online Online
offlineText String message when user goes offline Offline
timeout Number(ms) time before notification disappears when user is online 3000ms