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

22 lines
448 B
TypeScript
Raw Normal View History

2023-03-19 13:22:14 +00:00
import { Meta, Story } from '@storybook/vue3';
import MkUserCardMini from './MkUserCardMini.vue';
const meta = {
title: 'components/MkUserCardMini',
component: MkUserCardMini,
};
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',
},
2023-03-19 13:22:14 +00:00
};
export default meta;