Package Exports
- rn-takeo-cached-image
- rn-takeo-cached-image/dist/module/index.js
- rn-takeo-cached-image/src/index.ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rn-takeo-cached-image) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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}}
/>