You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cool if we could show the default icon (or initial, depending on whether username is set or not) while the image is loading or if the image fails loading (possibly because the url is wrong or unreachable)
I think it may be achievable by using an <object> tag and nesting the fallback in it, but I haven't explored it much
The text was updated successfully, but these errors were encountered:
Avatar should accept an optional
imageSrc
prop.It would be cool if we could show the default icon (or initial, depending on whether
username
is set or not) while the image is loading or if the image fails loading (possibly because the url is wrong or unreachable)I think it may be achievable by using an
<object>
tag and nesting the fallback in it, but I haven't explored it muchThe text was updated successfully, but these errors were encountered: