@matechat/core
Version:
前端智能化场景解决方案UI库,轻松构建你的AI应用。
39 lines (38 loc) • 893 B
TypeScript
import type { PropType } from 'vue';
export type BubbleVariant = 'filled' | 'none' | 'bordered';
export type AvatarPosition = 'top' | 'side';
export type BubbleAlign = 'left' | 'right';
export interface BubbleAvatar {
name?: string;
gender?: string;
width?: number;
height?: number;
isRound?: boolean;
imgSrc?: string;
displayName?: string;
}
export declare const props: {
content: {
type: StringConstructor;
default: string;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
align: {
type: PropType<BubbleAlign>;
default: string;
};
avatarPosition: {
type: PropType<AvatarPosition>;
default: string;
};
variant: {
type: PropType<BubbleVariant>;
default: string;
};
avatarConfig: {
type: PropType<BubbleAvatar>;
};
};