monkeeShark/packages/frontend/src/components/MkUserCardMini.stories.ts

22 lines
531 B
TypeScript
Raw Normal View History

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