Constimport React from 'react';
import { MiniAudio } from 'mediasfu-reactnative-expo';
function App() {
return (
<MiniAudio
visible={true}
name="John Doe"
showWaveform={true}
overlayPosition="bottomRight"
barColor="blue"
textColor="white"
imageSource="https://example.com/avatar.jpg"
roundedImage={true}
/>
);
}
export default App;
MiniAudio component renders a draggable audio player with customizable display options, including optional waveform animation, overlay positioning, and background image styling.
This component provides an animated waveform that can be toggled, and it allows for flexible styling of the name, position, and image. The component is also draggable for convenient placement on the screen.