Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-viewer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-viewer - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

LICENSE

6

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc