rn-takeo-cached-image
v1.0.0
Published
A ReactNative package for image caching.
Downloads
11
Maintainers
Readme
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}}
/>