riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/avatar/type.d.ts
@@ -1,4 +1,6 @@
import { BadgeProps } from '../badge/index';
import { ImageProps } from '../image/index';
import { ShapeEnum } from '../common/common';
export interface TdAvatarProps {
    alt?: {
        type: StringConstructor;
@@ -11,14 +13,6 @@
    bordered?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    style?: {
        type: StringConstructor;
        value?: string;
    };
    externalClasses?: {
        type: ArrayConstructor;
        value?: ['t-class', 't-class-image', 't-class-icon', 't-class-alt', 't-class-content'];
    };
    hideOnLoadFailed?: {
        type: BooleanConstructor;
@@ -34,7 +28,7 @@
    };
    imageProps?: {
        type: ObjectConstructor;
        value?: object;
        value?: ImageProps;
    };
    shape?: {
        type: StringConstructor;
@@ -45,4 +39,3 @@
        value?: string;
    };
}
export declare type ShapeEnum = 'circle' | 'round';