ChatUI / src /components /Avatar.tsx
VTechAI's picture
add
fed832e
raw
history blame contribute delete
273 Bytes
import { ReactNode } from 'react';
export default function Avatar({
avatar,
size,
className,
}: {
avatar: string | ReactNode;
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
className: string;
}) {
return <div className={`${className} flex-shrink-0`}>{avatar}</div>;
}