ov-igloo-ui icon indicating copy to clipboard operation
ov-igloo-ui copied to clipboard

[Feature Request]: Avatar - Handle fallback image

Open vicky-comeau opened this issue 1 year ago • 0 comments

Component that this feature request involves

Avatar

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

In OV, the avatar allows for a fallback image. They have this hook: const [imageUrl, handleImageError] = useUserImageFallback(src, fallbackSrc); and they call this on the image tag: onError={handleImageError} It would be good to have this in igloo so that we're able to replace all avatars with our component.

Describe alternatives you've considered

No response

Additional context

No response

vicky-comeau avatar Dec 12 '23 14:12 vicky-comeau