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

react-bootstrap-toggle

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-toggle - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "react-bootstrap-toggle",
"version": "2.1.0",
"version": "2.1.1",
"description": "A React version of the bootstrap-toggle without the JQuery dependency",

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

@@ -122,2 +122,4 @@ import React, { Component } from 'react';

disabled,
width,
height,
...props } = this.props;

@@ -127,14 +129,6 @@

let s = {};
if (this.props.width && this.props.height) {
s = {
width: this.props.width,
height: this.props.height,
};
} else {
s = {
width: this.state.width,
height: this.state.height,
};
}
const s = {
width: this.state.width || width,
height: this.state.height || height,
};

@@ -141,0 +135,0 @@ return (

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