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

21 lines
523 B
TypeScript

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