({ active, className, badgeSize = "normal" }: ActiveBadgeProps)
| 14 | }; |
| 15 | |
| 16 | export 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 | |
| 33 | export function MissingIntegrationBadge({ |
| 34 | className, |
nothing calls this directly
no test coverage detected
searching dependent graphs…