import type { Meta, StoryObj } from '@storybook/vue3' import Button from './Button.vue' const meta: Meta = { title: 'UI/Button', component: Button, render: (args) => ({ components: { Button }, setup() { return { args } }, template: '' }), argTypes: { variant: { control: { type: 'select' }, options: ['primary', 'outline'] } }, tags: ['autodocs'] } export default meta type Story = StoryObj export const Primary: Story = { args: { label: 'Primary button', variant: 'primary' } } export const Outline: Story = { args: { label: 'Outline button', variant: 'outline' } } export const FullWidth: Story = { args: { label: 'Full width', variant: 'primary', fullWidth: true } }