Sharkey/packages/frontend/src/pages/welcome.setup.stories.ts
2023-03-23 16:44:41 +09:00

34 lines
717 B
TypeScript

/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
import welcome_setup from './welcome.setup.vue';
const meta = {
title: 'pages/welcome.setup',
component: welcome_setup,
} satisfies Meta<typeof welcome_setup>;
export const Default = {
render(args) {
return {
components: {
welcome_setup,
},
setup() {
return {
args,
};
},
computed: {
props() {
return {
...args,
};
},
},
template: '<welcome_setup v-bind="props" />',
};
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof welcome_setup>;
export default meta;