22 lines
453 B
TypeScript
22 lines
453 B
TypeScript
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
import StoryComponent from './OrderMap.vue'
|
|
|
|
const meta: Meta<typeof StoryComponent> = {
|
|
title: 'OrderMap',
|
|
component: StoryComponent,
|
|
render: (args) => ({
|
|
components: { StoryComponent },
|
|
setup() {
|
|
return { args }
|
|
},
|
|
template: '<StoryComponent v-bind="args" />'
|
|
})
|
|
}
|
|
|
|
export default meta
|
|
type Story = StoryObj<typeof meta>
|
|
|
|
export const Primary: Story = {
|
|
args: {}
|
|
}
|