stone-kit
Version:
uikit for redesign
90 lines (89 loc) • 1.52 kB
JavaScript
import { l as t } from "../../../../index-BJwl9stn.js";
import { DestinationTab as e } from "../../../../components/DestinationTab/ui/DestinationTab.js";
const a = {
title: "shared/ui/DestinationTab",
component: e,
parameters: {
layout: "centered"
},
tags: ["autodocs"],
argTypes: {
variant: {
control: {
type: "select",
options: ["whiteStroke"]
}
},
size: {
control: {
type: "select",
options: ["medium", "large"]
}
},
width: {
control: {
type: "select",
options: ["auto", "full"]
}
}
},
args: {
onChange: t()
}
}, n = {
args: {
destination: {
destName: "Москва-Сити",
color: "#FFD700"
}
}
}, r = {
args: {
destination: {
destName: "Москва-Сити",
color: "#FFD700"
},
checked: !0
}
}, i = {
args: {
destination: {
destName: "Москва-Сити",
color: "#FFD700"
},
routes: [
{
type: "M",
text: "5 мин"
},
{
type: "A",
text: "10 мин"
}
]
}
}, l = {
args: {
destination: {
destName: "Москва-Сити",
color: "#FFD700"
},
size: "large"
}
}, c = {
args: {
destination: {
destName: "Москва-Сити",
color: "#FFD700"
},
width: "full"
}
};
export {
r as Checked,
n as Default,
c as FullWidth,
l as Large,
i as WithRoutes,
a as default
};