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

kzkzkz

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kzkzkz - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

34

index.js
import m from "react";
const d = "_kbutton_o1yzy_3", l = "_primary_o1yzy_18", z = "_destructive_o1yzy_34", v = "_secondary_o1yzy_49", b = "_tertiary_o1yzy_68", $ = "_inverse_o1yzy_88", p = "_large_o1yzy_103", k = "_icon_o1yzy_108", g = "_medium_o1yzy_111", f = "_small_o1yzy_119", t = {
const d = "_kbutton_1yzq7_2", l = "_primary_1yzq7_17", q = "_destructive_1yzq7_33", z = "_secondary_1yzq7_48", v = "_tertiary_1yzq7_67", b = "_inverse_1yzq7_87", $ = "_large_1yzq7_102", p = "_icon_1yzq7_107", k = "_medium_1yzq7_110", g = "_small_1yzq7_118", t = {
kbutton: d,
primary: l,
destructive: z,
secondary: v,
tertiary: b,
inverse: $,
large: p,
icon: k,
medium: g,
small: f
}, B = ({ content: e, variant: n = "secondary", size: r = "medium", className: o, inverse: y, destructive: _ = !1, icon: s, ariaLabel: c, disabled: i, onClick: a }) => {
destructive: q,
secondary: z,
tertiary: v,
inverse: b,
large: $,
icon: p,
medium: k,
small: g
}, x = ({ content: n, variant: r = "secondary", size: o = "medium", className: e, inverse: _, destructive: s = !1, icon: c, ariaLabel: i, disabled: y, onClick: a }) => {
const u = `
${t.kbutton}
${t[n]}
${t[r]}
${y && t.inverse}
${_ && t.destructive}
${o != null ? o : ""}
${s && t.icon}
${t[o]}
${_ && t.inverse}
${s && t.destructive}
${e != null ? e : ""}
${c && t.icon}
`;
return m.createElement("button", { disabled: i, "aria-label": c, className: u, onClick: a }, e);
return m.createElement("button", { disabled: y, "aria-label": i, className: u, onClick: a }, n);
};
export {
B as Button
x as Button
};
{
"name": "kzkzkz",
"version": "0.0.1",
"version": "0.0.2",
"type": "module",

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

Sorry, the diff of this file is not supported yet

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