@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/).
53 lines (52 loc) • 1.69 kB
TypeScript
import { Component } from 'vue';
/**
* @deprecated tag:v5 - Will be removed in the next major version. Use the "secondary" variant instead.
*/
type actionVariant = "action";
type __VLS_Props = {
is?: Component | string;
disabled?: boolean;
variant?: "primary" | "secondary" | "tertiary" | "critical" | actionVariant;
ghost?: boolean;
size?: "x-small" | "small" | "default" | "large";
square?: boolean;
block?: boolean;
link?: string;
isLoading?: boolean;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
default: null;
iconFront: {
size: number;
};
iconBack: {
size: number;
};
}> & {
default: null;
iconFront: {
size: number;
};
iconBack: {
size: number;
};
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
size: "x-small" | "small" | "default" | "large";
link: string;
variant: "primary" | "secondary" | "tertiary" | "critical" | actionVariant;
is: Component | string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};