mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 17:06:43 -06:00
23 lines
644 B
TypeScript
23 lines
644 B
TypeScript
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
/* eslint-disable import/no-default-export */
|
|
import { Meta, StoryObj } from '@storybook/vue3';
|
|
import WidgetJobQueue from './WidgetJobQueue.vue';
|
|
const meta = {
|
|
title: 'widgets/WidgetJobQueue',
|
|
component: WidgetJobQueue,
|
|
} satisfies Meta<typeof WidgetJobQueue>;
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
WidgetJobQueue,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<WidgetJobQueue v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
} satisfies StoryObj<typeof WidgetJobQueue>;
|
|
export default meta;
|