misskey/packages/frontend/src/pages/theme-editor.stories.ts

22 lines
433 B
TypeScript
Raw Normal View History

2023-03-19 14:22:14 +01:00
import { Meta, Story } from '@storybook/vue3';
import theme_editor from './theme-editor.vue';
const meta = {
title: 'pages/theme-editor',
component: theme_editor,
};
export const Default = {
render(args, { argTypes }) {
return {
components: {
theme_editor,
},
props: Object.keys(argTypes),
template: '<theme_editor v-bind="$props" />',
};
2023-03-19 14:22:14 +01:00
},
parameters: {
layout: 'fullscreen',
},
2023-03-19 14:22:14 +01:00
};
export default meta;