monkeeShark/packages/frontend/src/components/MkChannelPreview.stories.ts

22 lines
460 B
TypeScript
Raw Normal View History

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