Socket
Socket
Sign inDemoInstall

react-wifi-status-indicator

Package Overview
Dependencies
22
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-wifi-status-indicator

A simple wifi status indicator for react applications


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

ParameterTypeDescription
statusWifiStatusType"Excellent", "Good", "Fair", "Poor", "Unavailable", "Error", "Searching"
colorstringSet to color for wifi status levels
errorColorstringSet to color for wifi status when error occurs
offlineColorstringSet to color for wifi status when offline
widthstring / numberSet 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

Keywords

FAQs

Last updated on 30 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc