@minto-ai/mt-ui
Version:
UI组件库
104 lines (103 loc) • 3.15 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
icon: any;
title: any;
description: any;
right: {
isHover: boolean;
};
}> & {
icon: any;
title: any;
description: any;
right: {
isHover: boolean;
};
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly icon: {
readonly type: StringConstructor;
readonly default: "";
};
readonly title: {
readonly type: StringConstructor;
readonly default: "";
};
readonly description: {
readonly type: StringConstructor;
readonly default: "";
};
readonly link: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clickable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly width: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "100%";
};
readonly height: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "auto";
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: () => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly icon: {
readonly type: StringConstructor;
readonly default: "";
};
readonly title: {
readonly type: StringConstructor;
readonly default: "";
};
readonly description: {
readonly type: StringConstructor;
readonly default: "";
};
readonly link: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clickable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly width: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "100%";
};
readonly height: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "auto";
};
}>> & Readonly<{
onClick?: (() => any) | undefined;
}>, {
readonly clickable: boolean;
readonly link: boolean;
readonly title: string;
readonly width: string | number;
readonly height: string | number;
readonly icon: string;
readonly description: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};