ivue-material-plus
Version:
A high quality UI components Library with Vue.js
113 lines (112 loc) • 2.37 kB
TypeScript
declare const _sfc_main: import("vue").DefineComponent<{
/**
* 类型
*
* @type {String}
*/
shape: {
validator(value: string): boolean;
default: string;
};
/**
* 链接
*
* @type {String}
*/
src: {
type: StringConstructor;
default: string;
};
/**
* 图标
*
* @type {String}
*/
icon: {
type: StringConstructor;
default: string;
};
/**
* 大小
*
* @type {Number,String}
*/
size: {
type: (NumberConstructor | StringConstructor)[];
};
/**
* 颜色
*
* @type {String | Array}
*/
color: {
type: (StringConstructor | ArrayConstructor)[];
default: string;
};
}, {
prefixCls: string;
text: import("vue").Ref<HTMLDivElement>;
wrapper: import("vue").Ref<HTMLDivElement>;
data: {
isSlotShow: boolean;
slotScale: number;
slotWidth: number;
};
wrapperClasses: import("vue").ComputedRef<any[]>;
wrapperStyles: import("vue").ComputedRef<any[]>;
slotStyles: import("vue").ComputedRef<{}>;
handleImageError: (event: Event) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "on-error"[], "on-error", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* 类型
*
* @type {String}
*/
shape: {
validator(value: string): boolean;
default: string;
};
/**
* 链接
*
* @type {String}
*/
src: {
type: StringConstructor;
default: string;
};
/**
* 图标
*
* @type {String}
*/
icon: {
type: StringConstructor;
default: string;
};
/**
* 大小
*
* @type {Number,String}
*/
size: {
type: (NumberConstructor | StringConstructor)[];
};
/**
* 颜色
*
* @type {String | Array}
*/
color: {
type: (StringConstructor | ArrayConstructor)[];
default: string;
};
}>> & {
"onOn-error"?: (...args: any[]) => any;
}, {
src: string;
icon: string;
color: string | unknown[];
shape: string;
}>;
export default _sfc_main;