mizzkey/packages/frontend/src/components/MkMediaImage.stories.ts

22 lines
436 B
TypeScript
Raw Normal View History

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