Returns {
audioRef: RefObject<HTMLAudioElement>;
play: (() => void);
render: (() => Element);
}
An object with properties and functions for controlling the audio player.
audioRef: RefObject<HTMLAudioElement>
play: (() => void)
render: (() => Element)
- (): Element
Returns Element
Creates an audio player that can be used to play audio files.