stone-kit
Version:
uikit for redesign
78 lines (77 loc) • 1.3 kB
JavaScript
import { l as t } from "../../../../index-BJwl9stn.js";
import { MobileButton as e } from "../../../../components/mobileButton/ui/MobileButton.js";
const r = {
title: "shared/ui/MobileButton",
component: e,
parameters: {
layout: "centered"
},
tags: ["autodocs"],
argTypes: {
variant: {
control: {
type: "select",
options: ["primary", "secondary", "outline"]
}
},
size: {
control: {
type: "select",
options: ["small", "medium", "large"]
}
}
},
args: {
onClick: t()
}
}, a = {
args: {
children: "Mobile Button"
}
}, i = {
args: {
children: "Primary Button",
variant: "primary"
}
}, l = {
args: {
children: "Secondary Button",
variant: "secondary"
}
}, s = {
args: {
children: "Outline Button",
variant: "outline"
}
}, c = {
args: {
children: "Small Button",
size: "small"
}
}, d = {
args: {
children: "Large Button",
size: "large"
}
}, u = {
args: {
children: "Disabled Button",
disabled: !0
}
}, m = {
args: {
children: "Button with Icon",
icon: "🔥"
}
};
export {
a as Default,
u as Disabled,
d as Large,
s as Outline,
i as Primary,
l as Secondary,
c as Small,
m as WithIcon,
r as default
};