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

34 lines
733 B
TypeScript

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