mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-02 03:40:17 +00:00
19 lines
298 B
TypeScript
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>
|
|
);
|
|
}
|