image-component-react

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i image-component-react

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • bandana1477