import * as React from 'react'; import { cn } from '../lib/cn'; interface AvatarProps extends React.HTMLAttributes { size?: number; } const Avatar = React.forwardRef( ({ className, size = 36, style, ...props }, ref) => (
) ); Avatar.displayName = 'Avatar'; const AvatarImage = React.forwardRef>( ({ className, alt = '', ...props }, ref) => ( {alt} ) ); AvatarImage.displayName = 'AvatarImage'; const AvatarFallback = React.forwardRef>( ({ className, ...props }, ref) => ( ) ); AvatarFallback.displayName = 'AvatarFallback'; export { Avatar, AvatarImage, AvatarFallback };