gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
19 lines (18 loc) • 470 B
TypeScript
import { type StyleValue } from 'vue';
export interface AvatarProps {
rootStyle?: StyleValue;
rootClass?: string;
shape?: 'circle' | 'square';
size?: string;
iconSize?: string;
background?: string;
color?: string;
src?: string;
}
export declare const defaultAvatarProps: {
shape: AvatarProps["shape"];
};
export interface AvatarSlots {
default?(props: Record<string, never>): any;
extra?(props: Record<string, never>): any;
}