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

rc-switch

Package Overview
Dependencies
Maintainers
7
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-switch - npm Package Compare versions

Comparing version 4.0.0-alpha.0 to 4.0.0

4

es/index.js

@@ -74,8 +74,10 @@ import _extends from "@babel/runtime/helpers/extends";

}), loadingIcon, /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-inner")
}, /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-inner-checked")
}, checkedChildren), /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-inner-unchecked")
}, unCheckedChildren));
}, unCheckedChildren)));
});
Switch.displayName = 'Switch';
export default Switch;

@@ -98,6 +98,8 @@ "use strict";

}), loadingIcon, /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-inner")
}, /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-inner-checked")
}, checkedChildren), /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-inner-unchecked")
}, unCheckedChildren));
}, unCheckedChildren)));
});

@@ -104,0 +106,0 @@ Switch.displayName = 'Switch';

{
"name": "rc-switch",
"version": "4.0.0-alpha.0",
"version": "4.0.0",
"description": "switch ui component for react",

@@ -58,2 +58,3 @@ "keywords": [

"father": "^4.0.0",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",

@@ -60,0 +61,0 @@ "less": "^3.11.1",

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