import type { Meta, StoryObj } from '@storybook/vue3-vite' import VvButton from '@/components/VvButton/VvButton.vue' import { argTypes, defaultArgs } from './Button.settings' import { Default } from './Button.stories' const meta: Meta = { title: 'Components/Button/Loading', component: VvButton, args: defaultArgs, argTypes, } export default meta type Story = StoryObj export const Loading: Story = { ...Default, args: { ...Default.args, loading: true, }, } export const Icon: Story = { ...Default, args: { ...Default.args, loadingIcon: 'reload', loading: true, }, } export const Label: Story = { ...Default, args: { ...Default.args, loadingLabel: 'Reloading...', loading: true, }, }