1.0.3 • Published 7 years ago

simple-progressive-image v1.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
7 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

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago