2023-03-20 14:07:13 +00:00
|
|
|
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,
|
2023-03-20 14:07:13 +00:00
|
|
|
} satisfies Meta<typeof MkUserCardMini>;
|
2023-03-19 13:22:14 +00:00
|
|
|
export const Default = {
|
2023-03-20 07:13:07 +00:00
|
|
|
render(args, { argTypes }) {
|
|
|
|
return {
|
|
|
|
components: {
|
|
|
|
MkUserCardMini,
|
|
|
|
},
|
|
|
|
props: Object.keys(argTypes),
|
|
|
|
template: '<MkUserCardMini v-bind="$props" />',
|
|
|
|
};
|
2023-03-19 13:22:14 +00:00
|
|
|
},
|
2023-03-20 05:56:34 +00:00
|
|
|
parameters: {
|
|
|
|
layout: 'centered',
|
|
|
|
},
|
2023-03-20 14:07:13 +00:00
|
|
|
} satisfies StoryObj<typeof MkUserCardMini>;
|
2023-03-19 13:22:14 +00:00
|
|
|
export default meta;
|