Files
misskey/packages/frontend/src/pages/preview.stories.ts
2023-03-21 13:12:30 +09:00

22 lines
478 B
TypeScript

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