Skip to content

armgit / orca

Public Imported from GitHub
0

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.

928 B
Raw Blame
import type { RefObject } from 'react'
import type { TextInput, TextInputProps } from 'react-native'
import { colors } from '../../../theme/mobile-theme'
import { themedStyleSheet } from '../../../theme/themed-styles'

export type MobileNativeChatComposerFieldProps = Omit<
  TextInputProps,
  'value' | 'children' | 'onScroll' | 'style'
> & {
  value: string
  skillToken: string | null
  // Dictation heard so far, shown between the draft's halves without becoming part of its value.
  dictationPreview?: { before: string; text: string; after: string } | null
  ref?: RefObject<TextInput | null>
}

// Use the field’s exact font so the web overlay and transparent textarea occupy identical space.
export const mobileNativeChatComposerSkillStyles = themedStyleSheet(() => ({
  token: {
    color: colors.skillToken,
    backgroundColor: colors.skillTokenSurface
  },
  dictationPreview: {
    color: colors.textMuted
  }
}))