monkeeShark/packages/frontend/src/components/MkMiniChart.stories.ts
2023-03-20 23:07:13 +09:00

21 lines
507 B
TypeScript

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