Sharkey/packages/frontend/src/components/MkDonation.stories.ts

22 lines
499 B
TypeScript
Raw Normal View History

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