mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 04:26:58 +00:00
34 lines
717 B
TypeScript
34 lines
717 B
TypeScript
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
/* eslint-disable import/no-default-export */
|
|
import { Meta, StoryObj } from '@storybook/vue3';
|
|
import page_section from './page.section.vue';
|
|
const meta = {
|
|
title: 'components/page/page.section',
|
|
component: page_section,
|
|
} satisfies Meta<typeof page_section>;
|
|
export const Default = {
|
|
render(args) {
|
|
return {
|
|
components: {
|
|
page_section,
|
|
},
|
|
setup() {
|
|
return {
|
|
args,
|
|
};
|
|
},
|
|
computed: {
|
|
props() {
|
|
return {
|
|
...args,
|
|
};
|
|
},
|
|
},
|
|
template: '<page_section v-bind="props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
} satisfies StoryObj<typeof page_section>;
|
|
export default meta;
|