mizzkey/packages/frontend/src/components/MkNotePreview.stories.ts

22 lines
523 B
TypeScript
Raw Normal View History

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