@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
74 lines (73 loc) • 1.21 kB
JavaScript
import { c as e } from "../../index-BNmRGtA6.js";
const r = e(
[
"cursor-pointer",
"border",
"rounded",
"w-5",
"h-5",
"flex",
"justify-center",
"items-center",
"text-white"
],
{
variants: {
variant: {
default: ""
},
theme: {
colony: "",
kubefirst: "",
civo: ""
},
checked: {
true: "",
false: ""
}
},
compoundVariants: [
{
theme: "kubefirst",
class: ["border-kubefirst-primary"]
},
{
theme: "kubefirst",
checked: !0,
class: ["bg-kubefirst-primary"]
},
{
theme: "colony",
class: ["border-red-700"]
},
{
theme: "colony",
checked: !0,
class: ["bg-red-700"]
}
],
defaultVariants: {
variant: "default",
theme: "kubefirst"
}
}
), a = e(["cursor-pointer"], {
variants: {
variant: {
default: ""
},
theme: {
colony: "",
kubefirst: "",
civo: ""
}
},
defaultVariants: {
variant: "default",
theme: "kubefirst"
}
});
export {
r as checkboxVariants,
a as labelVariants
};