meteor-react-status-indicator

1.0.9 • Public • Published

Connection Status Indicator for Meteor with React

Install

npm install --save meteor-react-status-indicator

Usage

In your main layout file import:

import IconStatus from 'meteor-react-status-indicator'

and add somewhere in the page Default

  <IconStatus />

default proptypes value:

  • size: 1.5em
  • icon: "wifi"
  • connectedColor: "white"
  • disconnectedColor: "red"

Custom

  <IconStatus
    size={5}
    icon="certificate"
    connectedColor="#65b98f"
    disconnectedColor="#d62ec4"
  />

Thanks

License

MIT

Package Sidebar

Install

npm i meteor-react-status-indicator

Weekly Downloads

10

Version

1.0.9

License

MIT

Unpacked Size

13.6 kB

Total Files

8

Last publish

Collaborators

  • korrrr