react-offline-notify

    1.0.6 • Public • Published

    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

    Install

    npm i react-offline-notify

    DownloadsWeekly Downloads

    4

    Version

    1.0.6

    License

    ISC

    Unpacked Size

    39.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • smazad1212