Function MiniAudio

MiniAudio component displays an audio player with optional waveform animation and draggable functionality.

<MiniAudio
visible={true}
customStyle={{ backgroundColor: 'blue' }}
name="Sample Audio"
showWaveform={true}
barColor="green"
textColor="black"
nameTextStyling={{ fontSize: '20px' }}
imageSource="path/to/image.jpg"
roundedImage={true}
imageStyle={{ width: '100px' }}
overlayPosition="top"
/>

Properties

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.

displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.


const MyComponent: FC = () => {
return <div>Hello!</div>
}

MyComponent.displayName = 'MyAwesomeComponent'