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