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

34 lines
675 B
TypeScript

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