blob: 1ef2ab35d5238d8e6d6bae62b50e485af2822daf (
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 index from './index.vue';
const meta = {
title: 'widgets/server-metric/index',
component: index,
} satisfies Meta<typeof index>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
index,
},
props: Object.keys(argTypes),
template: '<index v-bind="$props" />',
};
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof index>;
export default meta;
|