import type { Meta, StoryObj } from '@storybook/vue3'; import { SecondaryButton } from '~/components'; type Story = StoryObj; const meta: Meta = { title: 'Application/Button/SecondaryButton', component: SecondaryButton, tags: ['button', 'submit'], argTypes: { size: { control: { type: 'select' }, options: ['2xl', 'xl', 'lg', 'md', 'sm', 'xs', 'xxs'], }, iconPosition: { control: { type: 'select' }, options: ['left', 'right', 'only'], }, icon: { control: false }, default: { control: false }, }, args: { size: 'xs', iconPosition: 'left', disabled: false, roundedFull: false, }, }; export const SecondaryButton_: Story = { render: args => ({ components: { SecondaryButton }, setup() { return { args }; }, template: ` Button label `, }), }; export default meta;