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

24 lines
570 B
TypeScript
Raw Normal View History

2023-03-21 17:25:17 +02:00
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
import note_ from './note.vue';
2023-03-19 15:22:14 +02:00
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;