UNPKG

@minto-ai/mt-ui

Version:

UI组件库

71 lines (70 loc) 2.54 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ error: any; }> & { error: any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly src: { readonly type: StringConstructor; readonly default: ""; }; 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: "100%"; }; readonly fit: { readonly type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">; readonly validator: (value: string) => boolean; readonly default: "cover"; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { load: () => any; error: () => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly src: { readonly type: StringConstructor; readonly default: ""; }; 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: "100%"; }; readonly fit: { readonly type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">; readonly validator: (value: string) => boolean; readonly default: "cover"; }; }>> & Readonly<{ onLoad?: (() => any) | undefined; onError?: (() => any) | undefined; }>, { readonly src: string; readonly width: string | number; readonly height: string | number; readonly fit: "none" | "fill" | "contain" | "cover" | "scale-down"; }, {}, {}, {}, 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; }; };