mizzkey/packages/frontend/src/components/MkWaitingDialog.stories.ts

22 lines
539 B
TypeScript
Raw Normal View History

import { Meta, StoryObj } from '@storybook/vue3';
2023-03-19 14:22:14 +01:00
import MkWaitingDialog from './MkWaitingDialog.vue';
const meta = {
title: 'components/MkWaitingDialog',
component: MkWaitingDialog,
} satisfies Meta<typeof MkWaitingDialog>;
2023-03-19 14:22:14 +01:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkWaitingDialog,
},
props: Object.keys(argTypes),
template: '<MkWaitingDialog v-bind="$props" />',
};
2023-03-19 14:22:14 +01:00
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof MkWaitingDialog>;
2023-03-19 14:22:14 +01:00
export default meta;