Sharkey/packages/frontend/src/pages/clicker.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 clicker from './clicker.vue';
const meta = {
title: 'pages/clicker',
component: clicker,
} satisfies Meta<typeof clicker>;
2023-03-19 13:22:14 +00:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
clicker,
},
props: Object.keys(argTypes),
template: '<clicker v-bind="$props" />',
};
2023-03-19 13:22:14 +00:00
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof clicker>;
2023-03-19 13:22:14 +00:00
export default meta;