Fixes sidebar

This commit is contained in:
Alex
2023-10-30 22:41:35 +00:00
parent 5d1ec6a9c8
commit 6476e688e5
5 changed files with 22 additions and 19 deletions

View File

@@ -0,0 +1,13 @@
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>;
}