1.0.9 • Published 6 years ago
meteor-react-status-indicator v1.0.9
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