Function
AvatarFallback
({
className,
...props
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
Source from the content-addressed store, hash-verified
| 35 | } |
| 36 | |
| 37 | function AvatarFallback({ |
| 38 | className, |
| 39 | ...props |
| 40 | }: React.ComponentProps<typeof AvatarPrimitive.Fallback>) { |
| 41 | return ( |
| 42 | <AvatarPrimitive.Fallback |
| 43 | data-slot="avatar-fallback" |
| 44 | className={cn( |
| 45 | "bg-muted flex size-full items-center justify-center rounded-full", |
| 46 | className |
| 47 | )} |
| 48 | {...props} |
| 49 | /> |
| 50 | ) |
| 51 | } |
| 52 | |
| 53 | export { Avatar, AvatarImage, AvatarFallback } |
Callers
nothing calls this directly
Tested by
no test coverage detected