Describe the bug
Try to use the custom hook for my custom play/pause buttons, but it's show the error : Property 'onStartAudioPlayback' does not exist on type 'Controls'.
To Reproduce
Steps to reproduce the behavior:
import { useVoiceVisualizer, VoiceVisualizer } from 'react-voice-visualizer'; .... other codes const recorderControls = useVoiceVisualizer(); const { setPreloadedAudioBlob, onStartAudioPlayback <-- error here } = recorderControls;
Expected behavior
It should not have error when calling the "on" functions.
Screenshots
Package info (please complete the following information):
Describe the bug Try to use the custom hook for my custom play/pause buttons, but it's show the error : Property 'onStartAudioPlayback' does not exist on type 'Controls'.
To Reproduce Steps to reproduce the behavior:
import { useVoiceVisualizer, VoiceVisualizer } from 'react-voice-visualizer'; .... other codes const recorderControls = useVoiceVisualizer(); const { setPreloadedAudioBlob, onStartAudioPlayback <-- error here } = recorderControls;
Expected behavior It should not have error when calling the "on" functions. Screenshots
Package info (please complete the following information):