@chatui/core
Version:
The React library for Chatbot UI
13 lines (12 loc) • 330 B
TypeScript
import React from 'react';
export type AvatarSize = 'sm' | 'md' | 'lg';
export type AvatarShape = 'circle' | 'square';
export interface AvatarProps {
className?: string;
src?: string;
alt?: string;
url?: string;
size?: AvatarSize;
shape?: AvatarShape;
}
export declare const Avatar: React.FC<AvatarProps>;