Socket
Socket
Sign inDemoInstall

react-img-prev

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-img-prev - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/cjs/index.js

@@ -40,3 +40,3 @@ 'use strict';

React__default["default"].createElement("input", { type: "file", accept: accept || ".jpg,.jpeg", multiple: multiple, name: "files", ref: inputFileRef, onChange: onChange, style: style }),
React__default["default"].createElement("button", { className: className, onClick: OnBtnImages }, children)));
React__default["default"].createElement("button", { className: className, onClick: OnBtnImages, type: "button" }, children)));
}

@@ -43,0 +43,0 @@ const style = {

@@ -32,3 +32,3 @@ import React, { useRef, useCallback, useState, useEffect } from 'react';

React.createElement("input", { type: "file", accept: accept || ".jpg,.jpeg", multiple: multiple, name: "files", ref: inputFileRef, onChange: onChange, style: style }),
React.createElement("button", { className: className, onClick: OnBtnImages }, children)));
React.createElement("button", { className: className, onClick: OnBtnImages, type: "button" }, children)));
}

@@ -35,0 +35,0 @@ const style = {

{
"name": "react-img-prev",
"version": "0.0.3",
"version": "0.0.4",
"description": "A react image picker with preview",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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