mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
14 lines
264 B
TypeScript
14 lines
264 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
export default function Avatar({
|
|
avatar,
|
|
size,
|
|
className,
|
|
}: {
|
|
avatar: ReactNode;
|
|
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
className: string;
|
|
}) {
|
|
return <div className={`${className} flex-shrink-0`}>{avatar}</div>;
|
|
}
|