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

@potok/icon-switch

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@potok/icon-switch - npm Package Compare versions

Comparing version 0.1.0-alpha.54b11147 to 0.1.0-alpha.55d6e161

12

IconSwitch.jsx

@@ -19,2 +19,6 @@ // @flow

onChange: (e: SyntheticEvent<HTMLInputElement>) => void,
/** Container className */
className: string,
/** Toggle className */
toggleClassName: string,
};

@@ -29,4 +33,6 @@

onChange,
className,
toggleClassName,
}: Props) => (
<Wrapper disabled={disabled}>
<Wrapper disabled={disabled} className={className}>
<ToggleWrapper>

@@ -39,3 +45,5 @@ <Input

/>
<Toggle>{value ? enabledIcon : disabledIcon}</Toggle>
<Toggle className={toggleClassName}>
{value ? enabledIcon : disabledIcon}
</Toggle>
</ToggleWrapper>

@@ -42,0 +50,0 @@ <Label disabled={disabled}>{label}</Label>

4

package.json
{
"name": "@potok/icon-switch",
"version": "0.1.0-alpha.54b11147",
"version": "0.1.0-alpha.55d6e161",
"description": "Potok.io UI Icon Switch component",

@@ -15,4 +15,4 @@ "main": "./IconSwitch.jsx",

"dependencies": {
"@potok/theme": "^0.7.0-alpha.54b11147"
"@potok/theme": "^0.7.0-alpha.55d6e161"
}
}
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