Socket
Socket
Sign inDemoInstall

reactjs-dropdown-component

Package Overview
Dependencies
9
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "reactjs-dropdown-component",
"version": "1.1.4",
"version": "1.1.5",
"description": "Single and multi select dropwdown menu components",

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

@@ -90,4 +90,6 @@ This package features two custom dropdown menu components for ReactJS.

```javascript
toggleItem = (id, key) => {
let temp = JSON.parse(JSON.stringify(this.state[key]));
toggleItem = (item) => {
const { id, key } = item;
const temp = JSON.parse(JSON.stringify(this.state[key]));
temp[id].selected = !temp[id].selected;

@@ -94,0 +96,0 @@ this.setState({

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc