build(#10336): avoid intrinsic component names
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import editor from './editor.vue';
|
||||
import editor_ from './editor.vue';
|
||||
const meta = {
|
||||
title: 'pages/my-antennas/editor',
|
||||
component: editor,
|
||||
} satisfies Meta<typeof editor>;
|
||||
component: editor_,
|
||||
} satisfies Meta<typeof editor_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
editor,
|
||||
editor_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<editor v-bind="$props" />',
|
||||
template: '<editor_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof editor>;
|
||||
} satisfies StoryObj<typeof editor_>;
|
||||
export default meta;
|
||||
|
||||
Reference in New Issue
Block a user