paricafe/packages/frontend/src/widgets/WidgetActivity.stories.ts

24 lines
644 B
TypeScript
Raw Normal View History

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