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 { Switch } from 'react-native'
import { colors } from '../theme/mobile-theme'
import { useMobileColorScheme } from '../theme/use-mobile-color-scheme'
export type MobileSwitchProps = {
value: boolean
onValueChange: (value: boolean) => void
accessibilityLabel: string
disabled?: boolean
testID?: string
}
/** The app's switch: neutral track and thumb, no platform accent. */
export function MobileSwitch(props: MobileSwitchProps) {
useMobileColorScheme()
// RN Web defaults active thumb to teal; override via activeThumbColor absent from native types.
const onThumb = { activeThumbColor: colors.textPrimary }
return (
<Switch
{...props}
{...onThumb}
trackColor={{ false: colors.bgRaised, true: colors.textSecondary }}
thumbColor={colors.textPrimary}
/>
)
}