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

22 lines
475 B
TypeScript

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