Sharkey/packages/frontend/src/pages/announcements.stories.ts

22 lines
439 B
TypeScript
Raw Normal View History

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