Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { ActivityIndicator, Pressable } from 'react-native'
import { ArrowUp } from 'lucide-react-native'
import { colors } from '../../theme/mobile-theme'
import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme'
import { composerInputStyles as styles } from './composer-input-styles'
export function ComposerSendButton({
onPress,
canSend,
sending = false,
label = 'Send'
}: {
onPress: () => void
canSend: boolean
sending?: boolean
label?: string
}): React.JSX.Element {
useMobileColorScheme()
const enabled = canSend && !sending
return (
<Pressable
accessibilityRole="button"
accessibilityLabel={label}
accessibilityState={{ disabled: !enabled, busy: sending }}
// react-native-web maps aria-busy but not accessibilityState.busy.
aria-busy={sending}
style={({ pressed }) => [
styles.sendButton,
!canSend && styles.sendButtonDisabled,
pressed && enabled && styles.pressed
]}
onPress={onPress}
disabled={!enabled}
>
{sending ? (
<ActivityIndicator size="small" color={colors.bgBase} />
) : (
<ArrowUp size={19} color={canSend ? colors.bgBase : colors.textMuted} strokeWidth={2.4} />
)}
</Pressable>
)
}