From ff5601a517d3f3434c3406ca949961dec8e0d3bf Mon Sep 17 00:00:00 2001 From: abiralgtm Date: Fri, 10 Apr 2020 20:20:47 +0545 Subject: [PATCH] netinfo import from react native community library --- CachedImage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CachedImage.js b/CachedImage.js index daf03c8..dc8013e 100644 --- a/CachedImage.js +++ b/CachedImage.js @@ -16,11 +16,12 @@ const { View, ImageBackground, ActivityIndicator, - NetInfo, Platform, StyleSheet, } = ReactNative; +const NetInfo = require('@react-native-community/netinfo'); + const styles = StyleSheet.create({ image: { backgroundColor: 'transparent'