MediaSFU React Native (Expo)
    Preparing search index...

    Variable MiniAudioConst

    MiniAudio: React.FC<MiniAudioOptions> = ...

    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.

    Configuration options for the MiniAudio component.

    Controls the visibility of the component.

    Custom styles for the component container.

    Name to display on the audio player.

    Toggles visibility of the waveform animation.

    Position of the overlay on the screen.

    Color of the waveform bars.

    Color of the displayed name text.

    Custom styles for the name text.

    URI for the background image.

    Determines if the background image should be rounded.

    Custom styles for the background image.

    The MiniAudio component.

    import 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;