import ComponentBaseStyles from "../styles/ComponentBaseStyles.wrn" component Avatar { outputs { load(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) error(payload: { error: Error | string; sourceEvent?: Event; [key: string]: string | number | boolean | null | object } | Error | string) click(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) } props { src: string = "" alt: string = "" initials: string = "" size: string = "md" color: string = "primary" variant: string = "solid" shape: string = "circle" status: string = "" statusLabel: string = "" statusPosition: string = "bottom" badge: string = "" badgeIcon: string = "" badgeLabel: string = "" tooltip: string = "" name: string = "" description: string = "" loading: string = "lazy" class: string = "" } view { {#if src} {alt || name} {:else if initials} {:else} {/if} {#if status} {/if} {#if badgeIcon} {:else if badge} {badge} {/if} {#if tooltip} {tooltip} {/if} {#if description} {name || alt || initials} {description} {/if}