Socket
Socket
Sign inDemoInstall

@s-ui/react-molecule-photo-uploader

Package Overview
Dependencies
63
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.24.0 to 1.25.0

11

lib/index.js
import _extends from "@babel/runtime/helpers/esm/extends";
import { useState } from 'react';
import { useState, forwardRef } from 'react';
import { useDropzone } from 'react-dropzone';

@@ -21,3 +21,3 @@ import { getTarget } from '@s-ui/js/lib/react';

var MoleculePhotoUploader = function MoleculePhotoUploader(_ref) {
var MoleculePhotoUploader = /*#__PURE__*/forwardRef(function (_ref, ref) {
var _cx;

@@ -267,3 +267,5 @@

}), {
children: [/*#__PURE__*/_jsx("input", _extends({}, getInputProps())), isPhotoUploaderEmpty && !isDragActive && /*#__PURE__*/_jsx(InitialState, {
children: [/*#__PURE__*/_jsx("input", _extends({}, getInputProps(), {
ref: ref
})), isPhotoUploaderEmpty && !isDragActive && /*#__PURE__*/_jsx(InitialState, {
buttonColor: addPhotoButtonColor,

@@ -324,6 +326,5 @@ buttonDesign: addPhotoButtonDesign,

});
};
});
MoleculePhotoUploader.displayName = 'MoleculePhotoUploader';
export default MoleculePhotoUploader;
export { ROTATION_DIRECTION as MoleculePhotoUploaderRotationDirection };
{
"name": "@s-ui/react-molecule-photo-uploader",
"version": "1.24.0",
"version": "1.25.0",
"description": "",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc