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

22 lines
515 B
TypeScript

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