misskey/packages/frontend/src/components/MkFormDialog.stories.ts

24 lines
631 B
TypeScript

/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
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;