blob: cc49211f9991a82847ba361844454fd5e9318c13 (
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 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;
|