Sharkey/packages/frontend/src/components/MkEmojiPicker.section.stories.ts

24 lines
703 B
TypeScript
Raw Normal View History

2023-03-22 00:25:17 +09:00
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable import/no-default-export */
import { Meta, StoryObj } from '@storybook/vue3';
2023-03-19 22:22:14 +09:00
import MkEmojiPicker_section from './MkEmojiPicker.section.vue';
const meta = {
title: 'components/MkEmojiPicker.section',
component: MkEmojiPicker_section,
} satisfies Meta<typeof MkEmojiPicker_section>;
2023-03-19 22:22:14 +09:00
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkEmojiPicker_section,
},
props: Object.keys(argTypes),
template: '<MkEmojiPicker_section v-bind="$props" />',
};
2023-03-19 22:22:14 +09:00
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof MkEmojiPicker_section>;
2023-03-19 22:22:14 +09:00
export default meta;