@shopware-ag/meteor-component-library
Version:
The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).
23 lines (18 loc) • 609 B
text/typescript
import MtSwitch from "./mt-switch.vue";
import type { StoryObj } from "@storybook/vue3";
import type { SlottedMeta } from "@/_internal/story-helper";
import { fn } from "@storybook/test";
export type MtSwitchMeta = SlottedMeta<typeof MtSwitch, "default">;
export default {
title: "Components/mt-switch",
component: MtSwitch,
args: {
label: "Switchfield",
onChange: fn(),
"onUpdate:modelValue": fn(),
"onInheritance-remove": fn(),
"onInheritance-restore": fn(),
},
} as MtSwitchMeta;
export type MtSwitchStory = StoryObj<MtSwitchMeta>;
export const Default: MtSwitchStory = {};