mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-28 14:43:09 +02:00
21 lines
512 B
TypeScript
21 lines
512 B
TypeScript
import { Meta, StoryObj } from '@storybook/vue3';
|
|
import theme_editor from './theme-editor.vue';
|
|
const meta = {
|
|
title: 'pages/theme-editor',
|
|
component: theme_editor,
|
|
} satisfies Meta<typeof theme_editor>;
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
theme_editor,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<theme_editor v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'fullscreen',
|
|
},
|
|
} satisfies StoryObj<typeof theme_editor>;
|
|
export default meta;
|