Function
QueueItemIndicator
({
completed = false,
className,
...props
}: QueueItemIndicatorProps)
Source from the content-addressed store, hash-verified
| 48 | }; |
| 49 | |
| 50 | export const QueueItemIndicator = ({ |
| 51 | completed = false, |
| 52 | className, |
| 53 | ...props |
| 54 | }: QueueItemIndicatorProps) => ( |
| 55 | <span |
| 56 | className={cn( |
| 57 | "mt-0.5 inline-block size-2.5 rounded-full border", |
| 58 | completed |
| 59 | ? "border-muted-foreground/20 bg-muted-foreground/10" |
| 60 | : "border-muted-foreground/50", |
| 61 | className |
| 62 | )} |
| 63 | {...props} |
| 64 | /> |
| 65 | ); |
| 66 | |
| 67 | export type QueueItemContentProps = ComponentProps<"span"> & { |
| 68 | completed?: boolean; |
Callers
nothing calls this directly
Tested by
no test coverage detected