react-svg-pan-zoom
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "react-svg-pan-zoom", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "A React component that adds pan and zoom features to SVG", | ||
@@ -32,3 +32,7 @@ "main": "./lib/index.js", | ||
"zoom", | ||
"react.js" | ||
"react.js", | ||
"ui", | ||
"user", | ||
"interface", | ||
"component" | ||
], | ||
@@ -50,16 +54,9 @@ "dependencies": { | ||
"react-dom": "^15.1.0", | ||
"react-templates": "^0.5.2", | ||
"react-templates-loader": "^0.5.0", | ||
"webpack": "^1.13.0", | ||
"webpack-dev-server": "^1.14.1" | ||
}, | ||
"babel": { | ||
"plugins": [ | ||
"transform-object-rest-spread" | ||
], | ||
"presets": [ | ||
"es2015", | ||
"react" | ||
] | ||
"peerDependencies": { | ||
"react": "^15.0.0", | ||
"react-dom": "^15.0.0" | ||
} | ||
} |
@@ -82,3 +82,3 @@ # react-svg-pan-zoom | ||
- `value` - value of the viewer (current point of view) | ||
- `tool` - active tool ( one of `none`, `pan`, `zoom` ) | ||
- `tool` - active tool ( one of `none`, `pan`, `zoom`, `zoom-in`, `zoom-out` ) | ||
- `onChange` - handler something changed `fn(viewerEvent)` | ||
@@ -85,0 +85,0 @@ - `onClick` - handler click `fn(viewerEvent)` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1013815
11
31
7394
5