Function
AvatarFallback
({
className,
...props
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
Source from the content-addressed store, hash-verified
| 39 | } |
| 40 | |
| 41 | function AvatarFallback({ |
| 42 | className, |
| 43 | ...props |
| 44 | }: React.ComponentProps<typeof AvatarPrimitive.Fallback>) { |
| 45 | return ( |
| 46 | <AvatarPrimitive.Fallback |
| 47 | data-slot="avatar-fallback" |
| 48 | className={cn( |
| 49 | "flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs", |
| 50 | className |
| 51 | )} |
| 52 | {...props} |
| 53 | /> |
| 54 | ) |
| 55 | } |
| 56 | |
| 57 | function AvatarBadge({ className, ...props }: React.ComponentProps<"span">) { |
| 58 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected