stone-kit
Version:
uikit for redesign
78 lines (77 loc) • 1.25 kB
JavaScript
import { l as e } from "../../../../index-BJwl9stn.js";
import { Switcher as a } from "../../../../components/Switcher/ui/Switcher.js";
const l = {
title: "shared/ui/Switcher",
component: a,
parameters: {
layout: "centered"
},
tags: ["autodocs"],
argTypes: {
variant: {
control: {
type: "select",
options: ["light", "dark"]
}
},
size: {
control: {
type: "select",
options: ["small", "medium", "large"]
}
}
},
args: {
onChange: e()
}
}, r = {
args: {
label: "Enable notifications"
}
}, c = {
args: {
label: "Enable notifications",
checked: !0
}
}, i = {
args: {
checked: !1
}
}, o = {
args: {
label: "Disabled switcher",
disabled: !0
}
}, n = {
args: {
label: "Disabled checked switcher",
checked: !0,
disabled: !0
}
}, d = {
args: {
label: "Dark theme switcher",
variant: "dark"
}
}, h = {
args: {
label: "Small switcher",
size: "small"
}
}, b = {
args: {
label: "Large switcher",
size: "large"
}
};
export {
c as Checked,
d as Dark,
r as Default,
o as Disabled,
n as DisabledChecked,
b as Large,
h as Small,
i as WithoutLabel,
l as default
};