barkey/packages/frontend/src/components/MkReactionsViewer.reaction.stories.ts
2023-03-23 16:44:41 +09:00

34 lines
824 B
TypeScript

/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
import MkReactionsViewer_reaction from './MkReactionsViewer.reaction.vue';
const meta = {
title: 'components/MkReactionsViewer.reaction',
component: MkReactionsViewer_reaction,
} satisfies Meta<typeof MkReactionsViewer_reaction>;
export const Default = {
render(args) {
return {
components: {
MkReactionsViewer_reaction,
},
setup() {
return {
args,
};
},
computed: {
props() {
return {
...args,
};
},
},
template: '<MkReactionsViewer_reaction v-bind="props" />',
};
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof MkReactionsViewer_reaction>;
export default meta;