Sharkey/packages/frontend/src/pages/signup-complete.stories.ts

24 lines
652 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 signup_complete from './signup-complete.vue';
const meta = {
title: 'pages/signup-complete',
component: signup_complete,
} satisfies Meta<typeof signup_complete>;
2023-03-19 13:22:14 +00:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
signup_complete,
},
props: Object.keys(argTypes),
template: '<signup_complete v-bind="$props" />',
};
2023-03-19 13:22:14 +00:00
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof signup_complete>;
2023-03-19 13:22:14 +00:00
export default meta;