Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "rc-viewer", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Image viewer component for react, supports rotation, scale, zoom and so on, based on viewer.js", | ||
@@ -14,6 +14,6 @@ "main": "dist/rc-viewer.js", | ||
"type": "git", | ||
"url": "git+https://github.com/15615741343/rc-viewer.git" | ||
"url": "git+https://github.com/hyk51594176/rc-viewer.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/15615741343/rc-viewer/issues" | ||
"url": "https://github.com/hyk51594176/rc-viewer/issues" | ||
}, | ||
@@ -20,0 +20,0 @@ "homepage": "https://github.com/15615741343/rc-viewer#readme", |
@@ -12,3 +12,3 @@ # rc-viewer | ||
```javascript | ||
import RcView from 'rc-viewer' | ||
import RcViewer from 'rc-viewer' | ||
import React,{ Component } from 'react'; | ||
@@ -19,3 +19,3 @@ class Test extends Component{ | ||
return <div> | ||
<RcView options={options} ref='viewer'> | ||
<RcViewer options={options} ref='viewer'> | ||
<ul id="images"> | ||
@@ -26,6 +26,6 @@ <li><img src="picture-1.jpg" alt="Picture 1"></li> | ||
</ul> | ||
</RcView> | ||
<RcView options={options}> | ||
</RcViewer> | ||
<RcViewer options={options}> | ||
<img src="picture-3.jpg" alt="Picture 3"> | ||
</RcView> | ||
</RcViewer> | ||
</div> | ||
@@ -32,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
35774
6
1