import { cn } from '@/lib/utils' import * as AvatarPrimitive from '@radix-ui/react-avatar' import * as React from 'react' const Avatar = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) Avatar.displayName = AvatarPrimitive.Root.displayName const AvatarImage = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) AvatarImage.displayName = AvatarPrimitive.Image.displayName const AvatarFallback = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName interface AvatarComponentProps { src?: string alt?: string fallback?: string className?: string } const AvatarComponent: React.FC = ({ src, alt, fallback, className, }) => { return ( {fallback} ) } export default AvatarComponent