@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/).
40 lines (39 loc) • 1.36 kB
TypeScript
type ModifierKey = "mod" | "ctrl" | "alt" | "shift" | "meta";
type SpecialKey = "enter" | "esc" | "tab" | "space" | "backspace" | "delete" | "up" | "down" | "left" | "right";
interface ShortcutDefinition {
modifiers?: ModifierKey[];
key: string | SpecialKey;
}
type __VLS_Props = {
variant?: "default" | "critical";
icon?: string;
disabled?: boolean;
shortcut?: ShortcutDefinition;
isSubTrigger?: boolean;
as?: string;
link?: string;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
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<{}>, {
link: string;
disabled: boolean;
as: string;
variant: "default" | "critical";
icon: string;
shortcut: ShortcutDefinition;
}, {}, {}, {}, 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;
};
};