@shopware-ag/meteor-component-library
Version:
The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).
35 lines (30 loc) • 731 B
text/typescript
import MtIcon from "./mt-icon.vue";
import type { StoryObj } from "@storybook/vue3";
import type { SlottedMeta } from "@/_internal/story-helper";
export type MtIconMeta = SlottedMeta<typeof MtIcon, "default">;
const meta: MtIconMeta = {
title: "Components/mt-icon",
component: MtIcon,
render: (args) => ({
components: { MtIcon },
template: '<mt-icon v-bind="args"></mt-icon>',
setup: () => {
return {
args,
};
},
}),
args: {
name: "regular-products",
color: "#3498db",
decorative: false,
},
argTypes: {
style: {
control: "object",
},
},
};
export default meta;
export type MtIconStory = StoryObj<MtIconMeta>;
export const Default: MtIconStory = {};