mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-06-17 18:36:58 +00:00
23 lines
607 B
TypeScript
23 lines
607 B
TypeScript
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
/* eslint-disable import/no-default-export */
|
|
import { Meta, StoryObj } from '@storybook/vue3';
|
|
import MkCaptcha from './MkCaptcha.vue';
|
|
const meta = {
|
|
title: 'components/MkCaptcha',
|
|
component: MkCaptcha,
|
|
} satisfies Meta<typeof MkCaptcha>;
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
MkCaptcha,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<MkCaptcha v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
} satisfies StoryObj<typeof MkCaptcha>;
|
|
export default meta;
|