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 { Fragment, type ReactElement } from 'react'
import type { NativeChatMessage } from '../../../src/shared/native-chat-types'
type MobileNativeChatListRow = { item: NativeChatMessage; index: number }
export function mobileNativeChatListFooter(
liveStatus: ReactElement | null,
waitingRows: readonly MobileNativeChatListRow[],
renderRow: (row: MobileNativeChatListRow) => ReactElement
): ReactElement | null {
if (waitingRows.length === 0) {
return liveStatus
}
return (
<>
{liveStatus}
{waitingRows.map((row) => (
<Fragment key={row.item.id}>{renderRow(row)}</Fragment>
))}
</>
)
}