AudioAttachment
Component to render the Audio Attachment controls within the MessageList and MessageInput.
This is the default component provided to the prop AudioAttachment
on the Channel
component.
#
Propsrequired item#
Type |
---|
object(duration, progress, paused, id, file) |
required onLoad#
Type |
---|
(index: string, duration: number) => void |
required onProgress#
Type |
---|
(index: string, currentTime?: number, hasEnd?: boolean) => void |
required onPlayPause#
Type |
---|
(index: string, pausedStatus?: boolean) => void |
#
testIDType |
---|
string |