mizzkey/packages/frontend/src/components/MkReactionsViewer.stories.ts
2023-03-20 23:07:13 +09:00

22 lines
555 B
TypeScript

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