21 lines
409 B
TypeScript
21 lines
409 B
TypeScript
import { Meta, Story } from '@storybook/vue3';
|
|
import registry from './registry.vue';
|
|
const meta = {
|
|
title: 'pages/registry',
|
|
component: registry,
|
|
};
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
registry,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<registry v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'fullscreen',
|
|
},
|
|
};
|
|
export default meta;
|