# react-draggable-zoom

> Easy to intergrate image zoom with draggability for your react projects.

Latest version **1.0.3** (published 2019-02-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-draggable-zoom
pnpm add react-draggable-zoom
yarn add react-draggable-zoom
bun add react-draggable-zoom
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-02-10 |
| First published | 2019-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 150.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Sanish Pradhananga |
| Maintainers | sanish-p |

## Links

- npm: https://www.npmjs.com/package/react-draggable-zoom
- Repository: https://github.com/Sanish-P/react-draggable-zoom
- Homepage: https://github.com/Sanish-P/react-draggable-zoom#readme
- Issues: https://github.com/Sanish-P/react-draggable-zoom/issues
- npm.io page: https://npm.io/package/react-draggable-zoom

## Recent versions

- 1.0.3 (latest) — 2019-02-10
- 1.0.2 — 2019-02-03
- 1.0.1 — 2019-02-03
- 1.0.0 — 2019-02-03

## README

# react-draggable-zoom

Easy to intergrate image zoom with draggability for your react projects.

# Demo
https://sanish-p.github.io/react-draggable-zoom/

# Installation
The package can be installed via yarn:

`yarn add react-draggable-zoom`

# Example

```javascript
import * as React from 'react';
import DraggableZoom from 'react-draggable-zoom';
import * as sampleImage from "public/assets/images/sample.jpg";

const Demo: React.SFC<{}> = () => {
  return (
    <React.Fragment>
      <DraggableZoom imageSrc={sampleImage} />
    </React.Fragment>
  ) 
}

export default Demo;
```
# Development
The master branch contains the latest version of source code. Clone the repository and play around with included example. To run the example use following commands.

`yarn start`

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