react-native-nitro-network-info
Version:
A React Native library for monitoring network connectivity status and connection type using Nitro Modules for high performance
9 lines (6 loc) • 321 B
text/typescript
import { NitroModules } from 'react-native-nitro-modules'
import type { NitroNetworkInfo as NitroNetworkInfoSpec } from './specs/nitro-network-info.nitro'
export type * from './types'
const NitroNetworkInfo =
NitroModules.createHybridObject<NitroNetworkInfoSpec>('NitroNetworkInfo')
export default NitroNetworkInfo