Sharkey/packages/frontend/src/components/MkReactionEffect.stories.ts

24 lines
663 B
TypeScript
Raw Normal View History

2023-03-22 00:25:17 +09:00
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
2023-03-19 22:22:14 +09:00
import MkReactionEffect from './MkReactionEffect.vue';
const meta = {
title: 'components/MkReactionEffect',
component: MkReactionEffect,
} satisfies Meta<typeof MkReactionEffect>;
2023-03-19 22:22:14 +09:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkReactionEffect,
},
props: Object.keys(argTypes),
template: '<MkReactionEffect v-bind="$props" />',
};
2023-03-19 22:22:14 +09:00
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof MkReactionEffect>;
2023-03-19 22:22:14 +09:00
export default meta;