Sharkey/packages/frontend/src/pages/not-found.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 not_found from './not-found.vue';
const meta = {
title: 'pages/not-found',
component: not_found,
} satisfies Meta<typeof not_found>;
export const Default = {
render(args) {
return {
components: {
not_found,
},
setup() {
return {
args,
};
},
computed: {
props() {
return {
...args,
};
},
},
template: '<not_found v-bind="props" />',
};
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof not_found>;
export default meta;