Coder Social home page Coder Social logo

ets-reactnative1 / react-native-easy-cached-image Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wrathchaos/react-native-easy-cached-image

0.0 0.0 0.0 6.02 MB

Easy Peasy Cached Image for React Native.

Home Page: https://www.freakycoder.com

License: MIT License

JavaScript 100.00%

react-native-easy-cached-image's Introduction

React Native Easy Cached Image

Easy Peasy Cached Image for React Native with Expo.

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Easy Cached Image

Important Warning :

This library only works with Expo! Not working with Pure React Native.

Installation for Expo

Add the dependency:

npm i react-native-easy-cached-image

Basic Usage

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

Peer Dependencies

IMPORTANT! You need install them. This is an EXPO based library, you cannot use it without Expo for now.
"expo": ">= 27.x",
"react": ">= 16.x",
"crypto-js": ">= 3.x.x",
"react-native": ">= 0.55.x"

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

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

Author

FreakyCoder, [email protected]

License

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

react-native-easy-cached-image's People

Contributors

bardiaalavi-2020 avatar dependabot-preview[bot] avatar dependabot[bot] avatar wrathchaos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.