VoiceButtonProps
@gravity-rail/react / VoiceButtonProps
Interface: VoiceButtonProps
Extends
Properties
className?
optionalclassName:string
label?
optionallabel:string
Label shown when idle.
onTranscript()?
optionalonTranscript: (entry) =>void
Called for each finished transcript turn (caller or agent).
Parameters
entry
Returns
void
Inherited from
workflowId?
optionalworkflowId:number
Override the workflow the voice chat runs (defaults to the site default).