Socket
Socket
Sign inDemoInstall

react-portal

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-portal - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/portal.js

@@ -75,3 +75,3 @@ import React, {findDOMNode} from 'react';

if (this.props.openByClickOn) {
return <div onClick={this.openPortal}>{this.props.openByClickOn}</div>;
return <div onClick={this.openPortal} className="openByClickOn">{this.props.openByClickOn}</div>;
} else {

@@ -78,0 +78,0 @@ return null;

@@ -6,3 +6,3 @@ {

"author": "Vojtech Miksu",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",

@@ -9,0 +9,0 @@ "repository": {

@@ -112,3 +112,3 @@ "use strict";

"div",
{ onClick: this.openPortal },
{ onClick: this.openPortal, className: "openByClickOn" },
this.props.openByClickOn

@@ -115,0 +115,0 @@ );

Sorry, the diff of this file is too big to display

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