Sharkey/packages/frontend/src/pages/welcome.entrance.a.stories.ts

24 lines
676 B
TypeScript
Raw Normal View History

2023-03-21 15:25:17 +00:00
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
2023-03-19 13:22:14 +00:00
import welcome_entrance_a from './welcome.entrance.a.vue';
const meta = {
title: 'pages/welcome.entrance.a',
component: welcome_entrance_a,
} satisfies Meta<typeof welcome_entrance_a>;
2023-03-19 13:22:14 +00:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
welcome_entrance_a,
},
props: Object.keys(argTypes),
template: '<welcome_entrance_a v-bind="$props" />',
};
2023-03-19 13:22:14 +00:00
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof welcome_entrance_a>;
2023-03-19 13:22:14 +00:00
export default meta;