mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 20:36:43 -06:00
21 lines
528 B
TypeScript
21 lines
528 B
TypeScript
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;
|