Function
AvatarGroupCount
({
className,
...props
}: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 84 | } |
| 85 | |
| 86 | function AvatarGroupCount({ |
| 87 | className, |
| 88 | ...props |
| 89 | }: React.ComponentProps<"div">) { |
| 90 | return ( |
| 91 | <div |
| 92 | data-slot="avatar-group-count" |
| 93 | className={cn( |
| 94 | "relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3", |
| 95 | className |
| 96 | )} |
| 97 | {...props} |
| 98 | /> |
| 99 | ) |
| 100 | } |
| 101 | |
| 102 | export { |
| 103 | Avatar, |
Callers
nothing calls this directly
Tested by
no test coverage detected