UNPKG

@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/).

25 lines (20 loc) 641 B
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/Form/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 DefaultStory: MtSwitchStory = { name: "mt-switch", };