2023-03-20 15:07:13 +01:00
|
|
|
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,
|
2023-03-20 15:07:13 +01:00
|
|
|
} satisfies Meta<typeof MkWaitingDialog>;
|
2023-03-19 14:22:14 +01:00
|
|
|
export const Default = {
|
2023-03-20 08:13:07 +01:00
|
|
|
render(args, { argTypes }) {
|
|
|
|
return {
|
|
|
|
components: {
|
|
|
|
MkWaitingDialog,
|
|
|
|
},
|
|
|
|
props: Object.keys(argTypes),
|
|
|
|
template: '<MkWaitingDialog v-bind="$props" />',
|
|
|
|
};
|
2023-03-19 14:22:14 +01:00
|
|
|
},
|
2023-03-20 06:56:34 +01:00
|
|
|
parameters: {
|
|
|
|
layout: 'centered',
|
|
|
|
},
|
2023-03-20 15:07:13 +01:00
|
|
|
} satisfies StoryObj<typeof MkWaitingDialog>;
|
2023-03-19 14:22:14 +01:00
|
|
|
export default meta;
|