# image-component-react

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

Latest version **0.1.0** (published 2018-01-24) · 0 weekly downloads

## Install

```sh
npm install image-component-react
pnpm add image-component-react
yarn add image-component-react
bun add image-component-react
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-01-24 |
| First published | 2018-01-24 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 41 |
| Known vulnerabilities | 0 (+8 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | bandana1477 |

## Links

- npm: https://www.npmjs.com/package/image-component-react
- npm.io page: https://npm.io/package/image-component-react

## Dependencies (41)

- [raf](https://npm.io/package/raf.md) 3.4.0
- [jest](https://npm.io/package/jest.md) 20.0.4
- [chalk](https://npm.io/package/chalk.md) 1.1.3
- [react](https://npm.io/package/react.md) ^16.2.0
- [dotenv](https://npm.io/package/dotenv.md) 4.0.0
- [eslint](https://npm.io/package/eslint.md) 4.10.0
- [promise](https://npm.io/package/promise.md) 8.0.1
- [webpack](https://npm.io/package/webpack.md) 3.8.1
- [fs-extra](https://npm.io/package/fs-extra.md) 3.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.2.0
- [babel-core](https://npm.io/package/babel-core.md) 6.26.0
- [babel-jest](https://npm.io/package/babel-jest.md) 20.0.3
- [css-loader](https://npm.io/package/css-loader.md) 0.28.7
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.7
- [url-loader](https://npm.io/package/url-loader.md) 0.6.2
- [file-loader](https://npm.io/package/file-loader.md) 1.1.5
- [autoprefixer](https://npm.io/package/autoprefixer.md) 7.1.6
- [babel-eslint](https://npm.io/package/babel-eslint.md) 7.2.3
- [babel-loader](https://npm.io/package/babel-loader.md) 7.1.2
- [style-loader](https://npm.io/package/style-loader.md) 0.19.0
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) 2.0.3
- [babel-runtime](https://npm.io/package/babel-runtime.md) 6.26.0
- [dotenv-expand](https://npm.io/package/dotenv-expand.md) 4.0.1
- [eslint-loader](https://npm.io/package/eslint-loader.md) 1.9.0
- [object-assign](https://npm.io/package/object-assign.md) 4.1.1
- [postcss-loader](https://npm.io/package/postcss-loader.md) 1.0.0
- [react-dev-utils](https://npm.io/package/react-dev-utils.md) ^5.0.0
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) 2.9.4
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.4.0
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) 2.29.0
- [postcss-load-config](https://npm.io/package/postcss-load-config.md) 1.0.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.8.0
- [babel-preset-react-app](https://npm.io/package/babel-preset-react-app.md) ^3.1.1
- [eslint-plugin-flowtype](https://npm.io/package/eslint-plugin-flowtype.md) 2.39.1
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 5.1.1
- [postcss-flexbugs-fixes](https://npm.io/package/postcss-flexbugs-fixes.md) 3.2.0
- [eslint-config-react-app](https://npm.io/package/eslint-config-react-app.md) ^2.1.0
- [webpack-manifest-plugin](https://npm.io/package/webpack-manifest-plugin.md) 1.3.2
- [sw-precache-webpack-plugin](https://npm.io/package/sw-precache-webpack-plugin.md) 0.11.4
- [extract-text-webpack-plugin](https://npm.io/package/extract-text-webpack-plugin.md) 3.0.2
- [case-sensitive-paths-webpack-plugin](https://npm.io/package/case-sensitive-paths-webpack-plugin.md) 2.1.1

## Recent versions

- 0.1.0 (latest) — 2018-01-24

## README

## 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`

---
_Source: https://npm.io/package/image-component-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
