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

22 lines
475 B
TypeScript
Raw Normal View History

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