MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / QueueItemIndicator

Function QueueItemIndicator

components/ai-elements/queue.tsx:50–65  ·  view source on GitHub ↗
({
  completed = false,
  className,
  ...props
}: QueueItemIndicatorProps)

Source from the content-addressed store, hash-verified

48};
49
50export 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
67export type QueueItemContentProps = ComponentProps<"span"> & {
68 completed?: boolean;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected