import type { Meta } from '@storybook/vue3'; import Alert from './Alert.vue'; const meta: Meta = { title: 'Application/Alert', component: Alert, tags: ['info', 'alert'], argTypes: { type: { control: { type: 'select', }, options: ['success', 'warning', 'info'], }, closeAfterDuration: { control: { type: 'number', }, }, }, }; const Template = (args: Record, { argTypes }: Record>) => ({ props: Object.keys(argTypes), components: { Alert }, template: ` `, }); export const Default = Template.bind({}); export default meta;