0.1.0 • Published 6 years ago

image-component-react v0.1.0

Weekly downloads
3
License
-
Repository
-
Last release
6 years ago

This component expects 2 image url

1) ImageUrl -> The src of the actual Image.
2) placeholderImageUrl -> src of the placeholder.

The placeholder image is a smaller (size) image, when the loading of the actual image is done, then the
placeholder image gets hidden and original image appears progressively.

To use this component

Just install the package and import the ImageComponent and render it with your src.

Example

  • Clone the repository git clone https://github.com/bandana147/image-component.git
  • Do npm install and then npm start
  • It will open up in http://localhost:3000