VoiceRecorder

The VoiceRecorder component is a subcomponent that is part of all preset themes. It is used to render a preview when the user has recorded a voice message.

Props

Our preset themes pass the following props to the VoiceRecorder component. You can change the props it receives by updating the places in the theme where the component is invoked.

NameTypeDescription
recordingDurationnumberduration of the recording in seconds

Available system components

In our preset themes, VoiceRecorder subcomponent is rendered inside the MessageField. System components available there are also available in this component.