DocsGPT/frontend/src/Avatar.tsx
2023-02-27 19:00:17 +00:00

19 lines
298 B
TypeScript

export default function Avatar({
avatar,
size,
className,
}: {
avatar: string;
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
className: string;
}) {
const styles = {
transform: 'scale(-1, 1)',
};
return (
<div style={styles} className={className}>
{avatar}
</div>
);
}