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'