mizzkey/packages/frontend/src/components/MkWaitingDialog.stories.ts
2023-03-20 23:07:13 +09:00

22 lines
539 B
TypeScript

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