mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 18:16:44 -06:00
21 lines
469 B
TypeScript
21 lines
469 B
TypeScript
import { Meta, Story } from '@storybook/vue3';
|
|
import WidgetInstanceInfo from './WidgetInstanceInfo.vue';
|
|
const meta = {
|
|
title: 'widgets/WidgetInstanceInfo',
|
|
component: WidgetInstanceInfo,
|
|
};
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
WidgetInstanceInfo,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<WidgetInstanceInfo v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
};
|
|
export default meta;
|