Files
misskey/packages/frontend/src/pages/gallery/post.stories.ts
2023-03-20 23:07:13 +09:00

22 lines
456 B
TypeScript

import { Meta, StoryObj } from '@storybook/vue3';
import post from './post.vue';
const meta = {
title: 'pages/gallery/post',
component: post,
} satisfies Meta<typeof post>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
post,
},
props: Object.keys(argTypes),
template: '<post v-bind="$props" />',
};
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof post>;
export default meta;