mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-05-13 17:16:57 +00:00
21 lines
489 B
TypeScript
21 lines
489 B
TypeScript
import { Meta, StoryObj } from '@storybook/vue3';
|
|
import universal_ from './universal.vue';
|
|
const meta = {
|
|
title: 'ui/universal',
|
|
component: universal_,
|
|
} satisfies Meta<typeof universal_>;
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
universal_,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<universal_ v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
} satisfies StoryObj<typeof universal_>;
|
|
export default meta;
|