1.0.3 • Published 6 years ago

simple-progressive-image v1.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

React Native Simple Progressive Image

A simple Progressive Image Loader for React Native

Total Downloads License

Why ?

Other packages use absolute positioning which can lead to malfunctions

Install

npm install --save simple-progressive-image

Example

import ProgressiveImage from 'simple-progressive-image';

<ProgressiveImage
	placeholderSource={{uri: "https://i.imgur.com/EMaLg1x.jpg"}}
	imageSource={{uri: "https://i.imgur.com/580JwuJ.jpg"}}
	resizeMode={"contain"}
/>

Properties

PropDefaultTypeDescriptionRequired
resizeMode-StringInherited from componenttrue
placeholderImageStyle-ObjectStyling for the placeholderfalse
placeholderSource-ObjectPlaceholder image sourcetrue
sourceImageStyle-ObjectStyling for the actual imagefalse
imageSource-ObjectActual image sourcetrue
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago