Sharkey/packages/frontend/src/pages/clicker.stories.ts
2023-03-20 23:07:13 +09:00

21 lines
472 B
TypeScript

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