react-wifi-status-indicator
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

React Wifi Status Indicator

MIT License

Tag

Open Issues

A simple wifi status indicator for react applications

Demo

Demo / Storybook

Installation

Install react-wifi-status-indicator with npm

  npm install react-wifi-status-indicator

Install react-wifi-status-indicator with yarn

  yarn add react-wifi-status-indicator

API Reference

Parameter Type Description
status WifiStatusType "Excellent", "Good", "Fair", "Poor", "Unavailable", "Error", "Searching"
color string Set to color for wifi status levels
errorColor string Set to color for wifi status when error occurs
offlineColor string Set to color for wifi status when offline
width string / number Set to width for wifi status icon, By default takes the parent width

Usage/Examples

// ES6 or TypeScript:
import {WifiStatus, WifiStatusType} from 'react-wifi-status-indicator';

const WifiStatusExample = () =>{
  return <WifiStatus status={WifiStatusType.Fair} width={100}>
}

export default WifiStatusExample;

License

MIT

/react-wifi-status-indicator/

    Package Sidebar

    Install

    npm i react-wifi-status-indicator

    Weekly Downloads

    1

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    48 kB

    Total Files

    12

    Last publish

    Collaborators

    • rahulretnan