mizzkey/packages/frontend/src/components/MkReactionsViewer.stories.ts

22 lines
555 B
TypeScript
Raw Normal View History

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