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