Function
QueueItemContent
({
completed = false,
className,
...props
}: QueueItemContentProps)
Source from the content-addressed store, hash-verified
| 69 | }; |
| 70 | |
| 71 | export const QueueItemContent = ({ |
| 72 | completed = false, |
| 73 | className, |
| 74 | ...props |
| 75 | }: QueueItemContentProps) => ( |
| 76 | <span |
| 77 | className={cn( |
| 78 | "line-clamp-1 grow break-words", |
| 79 | completed |
| 80 | ? "text-muted-foreground/50 line-through" |
| 81 | : "text-muted-foreground", |
| 82 | className |
| 83 | )} |
| 84 | {...props} |
| 85 | /> |
| 86 | ); |
| 87 | |
| 88 | export type QueueItemDescriptionProps = ComponentProps<"div"> & { |
| 89 | completed?: boolean; |
Callers
nothing calls this directly
Tested by
no test coverage detected