// Replace vue3 with vue if you are using Storybook for Vue 2 import type { Meta, StoryObj } from '@storybook/vue3-vite' import VvAvatar from '@/components/VvAvatar/VvAvatar.vue' import VvBadge from '@/components/VvBadge/VvBadge.vue' import { argTypes, defaultArgs } from './Avatar.settings' const meta: Meta = { title: 'Components/Avatar/Badge', component: VvAvatar, args: defaultArgs, argTypes, } export default meta type Story = StoryObj export const Badge: Story = { args: { modifiers: 'lg', }, render: args => ({ components: { VvAvatar, VvBadge }, setup() { return { args } }, template: /* html */ ` MR 99+ `, }), }