@hanzo/ui

Dictation

import { Dictation } from '@hanzo/ui/chat'

No examples yet.

Types

export interface DictationProps {
  voice: Machine
  disabled?: boolean
  /** The box of each half, px: the composer's control size (32 on a laptop, 36 on a phone). */
  size?: number
  /** The language dictation listens in, or null for Auto (the browser's own). */
  language?: string | null
  onLanguage?: (id: string | null) => void
}

Exports

Dictationtype DictationProps