paricafe/packages/frontend/src/widgets/WidgetUserList.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 WidgetUserList from './WidgetUserList.vue';
const meta = {
title: 'widgets/WidgetUserList',
component: WidgetUserList,
} satisfies Meta<typeof WidgetUserList>;
2023-03-19 08:22:14 -05:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
WidgetUserList,
},
props: Object.keys(argTypes),
template: '<WidgetUserList v-bind="$props" />',
};
2023-03-19 08:22:14 -05:00
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof WidgetUserList>;
2023-03-19 08:22:14 -05:00
export default meta;