React Native Progressive Image for React Native and React Native Web.
npm install @chainplatform/progressive-image --save
or
yarn add @chainplatform/progressive-image
import React from 'react';
import {StyleSheet} from 'react-native';
import ProgressiveImage, {Loading, ViewLoader} from '@chainplatform/progressive-image';
class App extends React.Component {
render() {
return (
<View style={{flex:1}}>
<ViewLoader
style={{
showLoading: false,
imageType: "link",
source: "image link",
resizeMode: 'center',
style: {
width: 96,
height: 40,
color: '#4189FF'
}
}}/>
</View>
);
}
}