1.0.0 • Published 2 years ago

rn-takeo-cached-image v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

rn-takeo-cached-image

A ReactNative package for image caching.

Setup

1. Installation

npm install rn-takeo-cached-image or yarn add rn-takeo-cached-image

2. Install Dependencies

npm install react-native-fs or yarn add react-native-fs
npm install react-native-sqlite-storage or yarn add react-native-sqlite-storage

3. IOS

cd ios; pod install

4. Android

Auto linked

Usage

import CachedImage from 'rn-takeo-cached-image';
....

<CachedImage
  source={{
    uri: 'image-uri',
  }}
  style={{width: 400, height: 400}}
/>