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

21 lines
467 B
TypeScript

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