'use client' import { Avatar as HeroAvatar } from '@heroui/react' interface AvatarProps { alt?: string className?: string color?: string isBordered?: boolean size?: 'sm' | 'md' | 'lg' src?: string } export function Avatar({ alt = '', className, isBordered, size, src }: AvatarProps) { return ( {src ? ( ) : null} {alt.slice(0, 1)} ) }