Easy Peasy Cached Image for React Native with Expo.
Add the dependency:
npm i react-native-easy-cached-image
<CachedImage
resizeMode="cover"
style={styles.imageStyle}
borderRadius={30}
source={{ uri: "your-uri" }} />
"expo": ">= 27.x",
"react": ">= 16.x",
"crypto-js": ">= 3.x.x",
"react-native": ">= 0.55.x"
Property | Type | Default | Description |
---|---|---|---|
source | object | undefined | use this to implement your own source of image, it could be URI or local image. |
Image props | any | non | it can use any prop what Image component use |
FreakyCoder, kurayogun@gmail.com
Author: WrathChaos
Source Code: https://github.com/WrathChaos/react-native-easy-cached-image
#react-native #react #mobile-apps