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

21 lines
499 B
TypeScript

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