# react-img-rz

> Cambio de imagen con Reactjs

Latest version **1.0.7** (published 2019-10-25) · 0 weekly downloads

## Install

```sh
npm install react-img-rz
pnpm add react-img-rz
yarn add react-img-rz
bun add react-img-rz
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2019-10-25 |
| First published | 2019-10-25 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 302.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Angel Granadillo |
| Maintainers | zellathor |
| Keywords | react-component, react, image-resize, resize, image |

## Links

- npm: https://www.npmjs.com/package/react-img-rz
- npm.io page: https://npm.io/package/react-img-rz

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2019-10-25
- 1.0.6 — 2019-10-25
- 1.0.5 — 2019-10-25
- 1.0.3 — 2019-10-25
- 1.0.2 — 2019-10-25

## README

```sh
# use npm
$ npm install --save react-img-rz

# use yarn
$ yarn add --save react-img-rz
```

## Programacion(Uso)

```javascript
import React from 'react';
import Image from 'react-img-rz';

export class ejemplo extends Component {
  render() {
   let value={img:'path/to/image.jpg',size:240};
    return (
      <>
        <Image
			src={value.img}
			width={value.size}
			height={value.size}
			style={{position: 'initial',display: 'unset',}}
            />
      </>
    );
  }
}
```


## Opciones

name | required | type | default | description
---|---|---|---|---
src | true | String | '' | Path de tu imagen
alt | false | String | '' | Descripcion de la Imagen
height | true | Number | 0 | Height despues de cambiar su tamaño (solo px)
width | true | Number | 0 | Width despues de cambiar su tamaño (solo px)
style | false | object |  | Estilo de la imagen (style css)


## License

This project is licensed under the terms of the MIT license.

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