@react-native-community/netinfo
Version:
React Native Network Info API for iOS & Android
16 lines (12 loc) • 395 B
text/typescript
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import {NativeModules} from 'react-native';
import {NetInfoNativeModule} from './privateTypes';
const RNCNetInfo: NetInfoNativeModule = NativeModules.RNCNetInfo;
export default RNCNetInfo;