Sharkey/packages/frontend/src/pages/note.stories.ts

22 lines
448 B
TypeScript
Raw Normal View History

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