stone-kit
Version:
uikit for redesign
77 lines (76 loc) • 1.24 kB
JavaScript
import { l as a } from "../../../../index-BJwl9stn.js";
import { T as e } from "../../../../FilterWithSave-D4iIFzmS.js";
const t = [
{ value: "tab1", label: "Overview" },
{ value: "tab2", label: "Details" },
{ value: "tab3", label: "Reviews" },
{ value: "tab4", label: "Settings" }
], l = {
title: "shared/ui/TabSwitcher",
component: e,
parameters: {
layout: "centered"
},
tags: ["autodocs"],
argTypes: {
variant: {
control: {
type: "select",
options: ["light", "dark", "gray", "transparent"]
}
},
size: {
control: {
type: "select",
options: ["small", "medium", "large"]
}
}
},
args: {
options: t,
onChange: a()
}
}, o = {
args: {
value: "tab1"
}
}, n = {
args: {
value: "tab2"
}
}, i = {
args: {
value: "tab1",
variant: "dark"
}
}, b = {
args: {
value: "tab1",
size: "small"
}
}, c = {
args: {
value: "tab1",
size: "large"
}
}, u = {
args: {
value: "tab1",
disabled: !0
}
}, g = {
args: {
value: "tab1",
error: !0
}
};
export {
i as Dark,
o as Default,
u as Disabled,
c as Large,
n as SecondTab,
b as Small,
g as WithError,
l as default
};