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

22 lines
528 B
TypeScript
Raw Normal View History

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