paricafe/packages/frontend/src/widgets/WidgetActivity.stories.ts
2023-03-20 23:07:13 +09:00

21 lines
528 B
TypeScript

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