2023-03-19 13:22:14 +00:00
|
|
|
import { Meta, Story } from '@storybook/vue3';
|
|
|
|
import MkRadios from './MkRadios.vue';
|
|
|
|
const meta = {
|
|
|
|
title: 'components/MkRadios',
|
|
|
|
component: MkRadios,
|
|
|
|
};
|
|
|
|
export const Default = {
|
2023-03-20 07:13:07 +00:00
|
|
|
render(args, { argTypes }) {
|
|
|
|
return {
|
|
|
|
components: {
|
|
|
|
MkRadios,
|
|
|
|
},
|
|
|
|
props: Object.keys(argTypes),
|
|
|
|
template: '<MkRadios v-bind="$props" />',
|
|
|
|
};
|
2023-03-19 13:22:14 +00:00
|
|
|
},
|
2023-03-20 05:56:34 +00:00
|
|
|
parameters: {
|
|
|
|
layout: 'centered',
|
|
|
|
},
|
2023-03-19 13:22:14 +00:00
|
|
|
};
|
|
|
|
export default meta;
|