summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkFormDialog.stories.ts
blob: 56ca0326a6e7797ba9245e10856b2871fa7098a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Meta, StoryObj } from '@storybook/vue3';
import MkFormDialog from './MkFormDialog.vue';
const meta = {
	title: 'components/MkFormDialog',
	component: MkFormDialog,
} satisfies Meta<typeof MkFormDialog>;
export const Default = {
	render(args, { argTypes }) {
		return {
			components: {
				MkFormDialog,
			},
			props: Object.keys(argTypes),
			template: '<MkFormDialog v-bind="$props" />',
		};
	},
	parameters: {
		layout: 'centered',
	},
} satisfies StoryObj<typeof MkFormDialog>;
export default meta;