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

22 lines
472 B
TypeScript
Raw Normal View History

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