mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 20:25:39 +02:00
22 lines
442 B
TypeScript
22 lines
442 B
TypeScript
import { Meta, Story } from '@storybook/vue3';
|
|
import MkChartLegend from './MkChartLegend.vue';
|
|
const meta = {
|
|
title: 'components/MkChartLegend',
|
|
component: MkChartLegend,
|
|
};
|
|
export const Default = {
|
|
render(args, { argTypes }) {
|
|
return {
|
|
components: {
|
|
MkChartLegend,
|
|
},
|
|
props: Object.keys(argTypes),
|
|
template: '<MkChartLegend v-bind="$props" />',
|
|
};
|
|
},
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
};
|
|
export default meta;
|