0.0.7 • Published 5 years ago

react-native-easy-cached-image v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Easy Peasy Cached Image for React Native.

npm version npm downloads License: MIT

Installation

Add the dependency:

npm i react-native-easy-cached-image

Basic Usage

<CachedImage
   resizeMode="cover"
   style={styles.imageStyle}
   borderRadius={30}
   source={{ uri: "your-uri" }} />

Example Application

  • I shared the example project to check what it is: check the code, and yes! :) all of the images, screenshots are directly taken from this example. Of course, you can simply clone the project and run the example on your own environment.

Configuration - Props

PropertyTypeDefaultDescription
sourceobjectundefineduse this to implement your own source of image, it could be URI or local image.
Image propsanynonit can use any prop what Image component use

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Easy Cached Image Library is available under the MIT license. See the LICENSE file for more info.