monkeeShark/packages/frontend/src/components/MkChartLegend.stories.ts

22 lines
523 B
TypeScript
Raw Normal View History

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