2023-03-20 15:07:13 +01:00
|
|
|
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,
|
2023-03-20 15:07:13 +01:00
|
|
|
} satisfies Meta<typeof MkReactionsViewer>;
|
2023-03-19 14:22:14 +01:00
|
|
|
export const Default = {
|
2023-03-20 08:13:07 +01:00
|
|
|
render(args, { argTypes }) {
|
|
|
|
return {
|
|
|
|
components: {
|
|
|
|
MkReactionsViewer,
|
|
|
|
},
|
|
|
|
props: Object.keys(argTypes),
|
|
|
|
template: '<MkReactionsViewer v-bind="$props" />',
|
|
|
|
};
|
2023-03-19 14:22:14 +01:00
|
|
|
},
|
2023-03-20 06:56:34 +01:00
|
|
|
parameters: {
|
|
|
|
layout: 'centered',
|
|
|
|
},
|
2023-03-20 15:07:13 +01:00
|
|
|
} satisfies StoryObj<typeof MkReactionsViewer>;
|
2023-03-19 14:22:14 +01:00
|
|
|
export default meta;
|