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

22 lines
560 B
TypeScript
Raw Normal View History

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