MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / AvatarFallback

Function AvatarFallback

packages/react/src/components/avatar.tsx:36–50  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>)

Source from the content-addressed store, hash-verified

34}
35
36function AvatarFallback({
37 className,
38 ...props
39}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {
40 return (
41 <AvatarPrimitive.Fallback
42 data-slot="avatar-fallback"
43 className={cn(
44 "flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
45 className,
46 )}
47 {...props}
48 />
49 );
50}
51
52function AvatarBadge({ className, ...props }: React.ComponentProps<"span">) {
53 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected