misskey/packages/frontend/src/pages/admin/roles.stories.ts

22 lines
468 B
TypeScript
Raw Normal View History

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