MCPcopy
hub / github.com/triggerdotdev/trigger.dev / ActiveBadge

Function ActiveBadge

apps/webapp/app/components/ActiveBadge.tsx:16–31  ·  view source on GitHub ↗
({ active, className, badgeSize = "normal" }: ActiveBadgeProps)

Source from the content-addressed store, hash-verified

14};
15
16export function ActiveBadge({ active, className, badgeSize = "normal" }: ActiveBadgeProps) {
17 switch (active) {
18 case true:
19 return (
20 <span className={cn(variant[badgeSize], "bg-charcoal-800 text-green-500", className)}>
21 Active
22 </span>
23 );
24 case false:
25 return (
26 <span className={cn(variant[badgeSize], "bg-charcoal-800 text-text-dimmed", className)}>
27 Disabled
28 </span>
29 );
30 }
31}
32
33export function MissingIntegrationBadge({
34 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…