Constimport React from 'react';
import { MiniCardAudio } from 'mediasfu-reactjs';
function App() {
return (
<MiniCardAudio
customStyle={{ backgroundColor: 'black' }}
name="Sample Audio"
showWaveform={true}
overlayPosition="bottom"
barColor="blue"
textColor="yellow"
imageSource="path/to/image.jpg"
roundedImage={true}
imageStyle={{ borderRadius: '10px' }}
/>
);
}
export default App;
MiniCardAudio component displays an audio card with an optional animated waveform and background image.
This component is designed to render an interactive audio card with customizable styling, optional waveform animation, and a background image. The waveform animation is responsive and changes based on the audio levels.