import { Ref, ComponentPropsWithoutRef } from "react"; import { getHttpUserClient } from "~src/http/user"; export interface UserAvatarProps extends ComponentPropsWithoutRef<"img"> { username: string; imgRef?: Ref | null; } export default function UserAvatar({ username, imgRef, ...otherProps }: UserAvatarProps) { return ( ); }