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

22 lines
448 B
TypeScript
Raw Normal View History

2023-03-19 14:22:14 +01:00
import { Meta, Story } from '@storybook/vue3';
import MkNotification from './MkNotification.vue';
const meta = {
title: 'components/MkNotification',
component: MkNotification,
};
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkNotification,
},
props: Object.keys(argTypes),
template: '<MkNotification 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;