Code

AudioPlayer API

This component extends the native audioarrow-up-right props. This means this component can receive the native html audioarrow-up-right tag attributes, for example, the autoPlay attribute (which is why it's not included in the table).

src

string

βœ…

onInteraction

(e: useAudioPlayerOnChangeProps) => void

❌

chevron-rightsrchashtag

The link of the audio you want to use

chevron-rightonInteractionhashtag

This function returns an event containing the props described by useAudioPlayerOnChangeProps

Example

Last updated