blob: 3cf58bda7b1bd5554039f0198816350fb3d3863f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import { Meta, StoryObj } from '@storybook/vue3';
import MkRadio from './MkRadio.vue';
const meta = {
title: 'components/MkRadio',
component: MkRadio,
} satisfies Meta<typeof MkRadio>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
MkRadio,
},
props: Object.keys(argTypes),
template: '<MkRadio v-bind="$props" />',
};
},
parameters: {
layout: 'centered',
},
} satisfies StoryObj<typeof MkRadio>;
export default meta;
|