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

21 lines
560 B
TypeScript

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