import type { Meta, StoryObj } from '@storybook/vue3-vite'; import Switch from '../switch.vue'; const meta: Meta = { title: 'Components/Switch', component: Switch, }; export default meta; type Story = StoryObj; export const Default: Story = { args: { defaultChecked: true, }, render: args => ({ components: { Switch }, setup() { return { args }; }, template: ` `, }), }; export const Disabled: Story = { args: { disabled: true, }, render: args => ({ components: { Switch }, setup() { return { args }; }, template: ` `, }), }; export const WithLabel: Story = { args: {}, render: args => ({ components: { Switch }, setup() { return { args }; }, template: `
`, }), };