Animated voice-note controls and used image x for playback rate

This commit is contained in:
Alvaro 2022-09-19 18:28:10 -06:00 committed by GitHub
parent f9453c64dd
commit b4c9c3051b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 168 additions and 68 deletions

View file

@ -7,7 +7,10 @@ import { GlobalAudioContext } from '../../components/GlobalAudioContext';
import type { Props as MessageAudioProps } from './MessageAudio';
import { SmartMessageAudio } from './MessageAudio';
type AudioAttachmentProps = Omit<MessageAudioProps, 'computePeaks'>;
type AudioAttachmentProps = Omit<
MessageAudioProps,
'computePeaks' | 'buttonRef'
>;
export function renderAudioAttachment(
props: AudioAttachmentProps