birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
62 lines (61 loc) • 1.66 kB
TypeScript
import { PropType } from "vue";
import { AvatarShape, AvatarSize } from "./types";
import { ImageFit } from "../../image/src/types";
declare const _sfc_main: import("vue").DefineComponent<{
/** 头像图标资源地址 */
imgSrc: {
type: StringConstructor;
default: string;
};
/** 图片适应类型 */
fit: {
type: PropType<ImageFit>;
default: string;
};
/** 头像形状 */
shape: {
type: PropType<AvatarShape>;
default: string;
};
/** 头像尺寸 */
size: {
type: PropType<AvatarSize>;
default: string;
};
}, {
name: string;
cls: import("vue").ComputedRef<string[]>;
slots: Readonly<{
[name: string]: import("vue").Slot<any>;
}>;
handleClick: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/** 头像图标资源地址 */
imgSrc: {
type: StringConstructor;
default: string;
};
/** 图片适应类型 */
fit: {
type: PropType<ImageFit>;
default: string;
};
/** 头像形状 */
shape: {
type: PropType<AvatarShape>;
default: string;
};
/** 头像尺寸 */
size: {
type: PropType<AvatarSize>;
default: string;
};
}>> & {
onClick?: (...args: any[]) => any;
}, {
size: AvatarSize;
shape: AvatarShape;
imgSrc: string;
fit: ImageFit;
}, {}>;
export default _sfc_main;