22 lines
539 B
TypeScript
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;
|