xdesign-vue-next
Version:
XDesign Component for vue-next
27 lines (26 loc) • 715 B
TypeScript
import { ImageProps } from '../image';
import { PopupProps } from '../popup';
import { TNode } from '../common';
export interface TdAvatarProps {
alt?: string;
content?: string | TNode;
default?: string | TNode;
hideOnLoadFailed?: boolean;
icon?: TNode;
image?: string;
imageProps?: ImageProps;
shape?: ShapeEnum;
size?: string;
onError?: (context: {
e: Event;
}) => void;
}
export interface TdAvatarGroupProps {
cascading?: CascadingValue;
collapseAvatar?: string | TNode;
max?: number;
popupProps?: PopupProps;
size?: string;
}
export declare type ShapeEnum = 'circle' | 'round';
export declare type CascadingValue = 'left-up' | 'right-up';