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

22 lines
526 B
TypeScript
Raw Normal View History

import { Meta, StoryObj } from '@storybook/vue3';
import announcements_ from './announcements.vue';
2023-03-19 15:22:14 +02:00
const meta = {
title: 'pages/announcements',
component: announcements_,
} satisfies Meta<typeof announcements_>;
2023-03-19 15:22:14 +02:00
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',
},
} satisfies StoryObj<typeof announcements_>;
2023-03-19 15:22:14 +02:00
export default meta;