Interface defining the props for the MiniCardAudio component.

interface MiniCardAudioOptions {
    customStyle?: StyleProp<ViewStyle>;
    name: string;
    showWaveform: boolean;
    overlayPosition?: OverlayPosition;
    barColor?: string;
    textColor?: string;
    imageSource?: string;
    roundedImage?: boolean;
    imageStyle?: StyleProp<ImageStyle>;
}

Properties

customStyle?: StyleProp<ViewStyle>

Custom styles to apply to the card.

name: string

The name to display on the card.

showWaveform: boolean

Flag to show or hide the waveform animation.

overlayPosition?: OverlayPosition

Position of the overlay on the card.

'topLeft'
barColor?: string

The color of the waveform bars.

'white'
textColor?: string

The color of the text.

'white'
imageSource?: string

The source URI for the background image.

roundedImage?: boolean

Flag to apply rounded corners to the image.

false
imageStyle?: StyleProp<ImageStyle>

Custom styles to apply to the image.