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

35 lines
733 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 = {
2023-03-23 07:44:41 +00:00
render(args) {
return {
components: {
signup_complete,
},
2023-03-23 07:44:41 +00:00
setup() {
return {
args,
};
},
computed: {
props() {
return {
...args,
};
},
},
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;