import React from 'react'; import { Text, View } from 'react-native'; import { CheckCircle2, Coins } from 'lucide-react-native'; import { themedColor } from '../../theme'; import { toolWidgetStyles } from '../primitives/toolWidgetStyles'; /** * Shared pieces of the automation and workflow task cards — the web * CreateAutomationWidget / CreateWorkflowWidget badge and footer rows. */ export function ActiveBadge({ inactiveLabel = 'Paused', isActive }: { inactiveLabel?: string; isActive: boolean }) { if (!isActive) { return ( {inactiveLabel} ); } return ( Active ); } export function AutomationCardFooter({ agentName }: { agentName?: string }) { return ( {agentName ? `${agentName} responds when triggered` : 'Agent responds when triggered'} Consumes message credits ); }