Simple wrapper for pan and zoom on html containers
npm install @ajainarayanan/react-pan-zoomA simple pan and zoom for canvas like elements in react.
```
> yarn add @ajainarayanan/react-pan-zoom
`typescript
import ReactPanZoom from "@ajainarayanan/react-pan-zoom";
class MyComponent extends React.PureComponent {
public render() {
return (

);
}
}
`
- zoom : Provide zoom level for the cavnas'ish element. 1 by defaultdx
- : Provide the initial x co-ordinate to pan the underlying element to be. 0 by defaultdy
- : Provide the initial y co-ordinate to pan the underlying element to be. 0 by default
For more information on what dx and dy mean please refer here(tx == dx and ty == dy)`.