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

34 lines
685 B
TypeScript

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