@wora/netinfo
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

@wora/netinfo

React

Install @wora/netinfo using yarn or npm:

yarn add @wora/netinfo
import { NetInfo } from "@wora/netinfo";

React Native (react-native-community/react-native-netinfo)

Install @wora/netinfo using yarn or npm:

yarn add @wora/netinfo react-native @react-native-community/netinfo

You then need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:

react-native link @react-native-community/netinfo

import { NetInfo } from "@wora/netinfo";

Package Sidebar

Install

npm i @wora/netinfo

Weekly Downloads

783

Version

2.1.1

License

MIT

Unpacked Size

9.88 kB

Total Files

15

Last publish

Collaborators

  • morrys