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