Function
QueueSectionLabel
({
count,
label,
icon,
className,
...props
}: QueueSectionLabelProps)
Source from the content-addressed store, hash-verified
| 234 | }; |
| 235 | |
| 236 | export const QueueSectionLabel = ({ |
| 237 | count, |
| 238 | label, |
| 239 | icon, |
| 240 | className, |
| 241 | ...props |
| 242 | }: QueueSectionLabelProps) => ( |
| 243 | <span className={cn("flex items-center gap-2", className)} {...props}> |
| 244 | <ChevronDownIcon className="group-data-[state=closed]:-rotate-90 size-4 transition-transform" /> |
| 245 | {icon} |
| 246 | <span> |
| 247 | {count} {label} |
| 248 | </span> |
| 249 | </span> |
| 250 | ); |
| 251 | |
| 252 | // QueueSectionContent - collapsible content area |
| 253 | export type QueueSectionContentProps = ComponentProps< |
Callers
nothing calls this directly
Tested by
no test coverage detected