Sharkey/packages/frontend/src/components/MkDriveSelectDialog.stories.ts

22 lines
571 B
TypeScript
Raw Normal View History

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