blob: 62186992bb6ae81ae35e73a4e239fa060925d65d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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;
|