Function
AvatarFallback
({
className,
...props
}: AvatarPrimitive.Fallback.Props)
Source from the content-addressed store, hash-verified
| 28 | } |
| 29 | |
| 30 | function AvatarFallback({ |
| 31 | className, |
| 32 | ...props |
| 33 | }: AvatarPrimitive.Fallback.Props) { |
| 34 | return ( |
| 35 | <AvatarPrimitive.Fallback |
| 36 | className={cn( |
| 37 | "flex size-full items-center justify-center rounded-full bg-muted", |
| 38 | className, |
| 39 | )} |
| 40 | data-slot="avatar-fallback" |
| 41 | {...props} |
| 42 | /> |
| 43 | ); |
| 44 | } |
| 45 | |
| 46 | export { Avatar, AvatarImage, AvatarFallback }; |
Callers
nothing calls this directly
Tested by
no test coverage detected