Function
QueueSectionTrigger
({
children,
className,
...props
}: QueueSectionTriggerProps)
Source from the content-addressed store, hash-verified
| 208 | export type QueueSectionTriggerProps = ComponentProps<"button">; |
| 209 | |
| 210 | export const QueueSectionTrigger = ({ |
| 211 | children, |
| 212 | className, |
| 213 | ...props |
| 214 | }: QueueSectionTriggerProps) => ( |
| 215 | <CollapsibleTrigger asChild> |
| 216 | <button |
| 217 | className={cn( |
| 218 | "group flex w-full items-center justify-between rounded-md bg-muted/40 px-3 py-2 text-left font-medium text-muted-foreground text-sm transition-colors hover:bg-muted", |
| 219 | className |
| 220 | )} |
| 221 | type="button" |
| 222 | {...props} |
| 223 | > |
| 224 | {children} |
| 225 | </button> |
| 226 | </CollapsibleTrigger> |
| 227 | ); |
| 228 | |
| 229 | // QueueSectionLabel - label content with icon and count |
| 230 | export type QueueSectionLabelProps = ComponentProps<"span"> & { |
Callers
nothing calls this directly
Tested by
no test coverage detected