Do not compute waveform for a long audio
This commit is contained in:
parent
44ecfe4746
commit
b1d49f7b3e
3 changed files with 64 additions and 6 deletions
|
@ -804,6 +804,21 @@ story.add('Audio', () => {
|
|||
return renderBothDirections(props);
|
||||
});
|
||||
|
||||
story.add('Long Audio', () => {
|
||||
const props = createProps({
|
||||
attachments: [
|
||||
{
|
||||
contentType: AUDIO_MP3,
|
||||
fileName: 'long-audio.mp3',
|
||||
url: '/fixtures/long-audio.mp3',
|
||||
},
|
||||
],
|
||||
status: 'sent',
|
||||
});
|
||||
|
||||
return renderBothDirections(props);
|
||||
});
|
||||
|
||||
story.add('Audio with Caption', () => {
|
||||
const props = createProps({
|
||||
attachments: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue