Files
DocsGPT/frontend/src/components/Avatar.tsx
2025-06-22 18:31:26 +05:30

14 lines
259 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} shrink-0`}>{avatar}</div>;
}