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

Function QueueSectionTrigger

components/ai-elements/queue.tsx:210–227  ·  view source on GitHub ↗
({
  children,
  className,
  ...props
}: QueueSectionTriggerProps)

Source from the content-addressed store, hash-verified

208export type QueueSectionTriggerProps = ComponentProps<"button">;
209
210export 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
230export type QueueSectionLabelProps = ComponentProps<"span"> & {

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected