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.
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.
Name | Type | Description |
---|---|---|
recordingDuration | number | duration of the recording in seconds |
In our preset themes, VoiceRecorder
subcomponent is rendered inside the MessageField
. System components available there are also available in this component.