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

21 lines
467 B
TypeScript

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