summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/user/index.stories.ts
blob: a699c0b644fc65c8b0e0e43c029d8535c9e9cdb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
import index_ from './index.vue';
const meta = {
	title: 'pages/user/index',
	component: index_,
} satisfies Meta<typeof index_>;
export const Default = {
	render(args) {
		return {
			components: {
				index_,
			},
			setup() {
				return {
					args,
				};
			},
			computed: {
				props() {
					return {
						...args,
					};
				},
			},
			template: '<index_ v-bind="props" />',
		};
	},
	parameters: {
		layout: 'fullscreen',
	},
} satisfies StoryObj<typeof index_>;
export default meta;