2023-03-19 14:22:14 +01:00
|
|
|
import { Meta, Story } from '@storybook/vue3';
|
|
|
|
import MkMention from './MkMention.vue';
|
|
|
|
const meta = {
|
|
|
|
title: 'components/MkMention',
|
|
|
|
component: MkMention,
|
|
|
|
};
|
|
|
|
export const Default = {
|
2023-03-20 08:13:07 +01:00
|
|
|
render(args, { argTypes }) {
|
|
|
|
return {
|
|
|
|
components: {
|
|
|
|
MkMention,
|
|
|
|
},
|
|
|
|
props: Object.keys(argTypes),
|
|
|
|
template: '<MkMention v-bind="$props" />',
|
|
|
|
};
|
2023-03-19 14:22:14 +01:00
|
|
|
},
|
2023-03-20 06:56:34 +01:00
|
|
|
parameters: {
|
|
|
|
layout: 'centered',
|
|
|
|
},
|
2023-03-19 14:22:14 +01:00
|
|
|
};
|
|
|
|
export default meta;
|