New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-switch

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-switch - npm Package Compare versions

Comparing version 5.0.0-beta.0 to 5.0.0

2

package.json
{
"name": "react-switch",
"version": "5.0.0-beta.0",
"version": "5.0.0",
"description": "Draggable toggle-switch component for react",

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

@@ -80,6 +80,7 @@ A draggable toggle-switch component for React.

| className | string | _undefined_ | Set as the className of the outer shell of the switch. Useful for positioning the switch. |
| id | string | _undefined_ | Set as an attribute to the embedded checkbox. This is useful for the associated label, which can point to the id in its htmlFor attribute.
| id | string | _undefined_ | Set as an attribute to the embedded checkbox. This is useful for the associated label, which can point to the id in its htmlFor attribute. |
---
**All other props will get passed to the underline `input` element**
**NOTE**: All additional props will be passed to the nested `input` element.

@@ -86,0 +87,0 @@ The following props have to be either 3-digit or 6-digit hex-colors:

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