@minto-ai/mt-ui
Version:
UI组件库
36 lines (35 loc) • 787 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
declare const avatarImageProps: {
/**
* 头像的形状
*/
shape: {
type: PropType<"circle" | "square">;
default: string;
validator: (value: string) => boolean;
};
/**
* 头像的大小
*/
size: {
type: NumberConstructor;
default: number;
};
/**
* 头像的图片
*/
src: {
type: StringConstructor;
default: string;
};
/**
* 头像的样式类型
*/
effect: {
type: PropType<"dark" | "light" | "plain">;
validator: (value: string) => boolean;
default: string;
};
};
export type AvatarImageProps = ExtractPropTypes<typeof avatarImageProps>;
export { avatarImageProps };