1.1.3 • Published 3 years ago

rn-expo-network-indicator v1.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

React Native Expo Network Indicator

npm version npm downloads

Provides visual information about the network status and useful information about the device's network, such as its IP address, MAC address

Example

View examples on snack.expo.io

Getting Started

Installing

$ npm i rn-expo-network-indicator
# our
$ yarn add rn-expo-network-indicator

Basic Usage

import { NetworkStatus } from 'rn-expo-network-indicator';


export const App = () => {
    return (
        <NetworkStatus>
            <OthersComponents/>
        <NetworkStatus/>
    );
};

Props

NameTypeDescriptionDefault
messagestringDisplay messageInternet connection has been lost!
colorstringbackgroundcolor#FF0000
colorTextstringtext color#FFFFFF
iconstringChange iconalert (network-strength-off,close-network-outline,cloud-alert,alert-circle,alert)

🤝 Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

  • Make a fork;
  • Create a branck with your feature: git checkout -b my-feature;
  • Commit changes: git commit -m 'feat: My new feature';
  • Make a push to your branch: git push origin my-feature.

After merging your receipt request to done, you can delete a branch from yours.

Show your support

Give a ⭐️ if this project helped you!

:memo: License

This project is under the MIT license. See the LICENSE for details.


Made with ♥ by Godrix :wave: Get in touch!