Props for the AUdioModalGallery component.

interface AUdioModalGalleryProps {
    audios: MediumProps[];
    initialIndex: number;
    mode?: "light" | "dark";
    onClose: VoidFunction;
    open: boolean;
}

Properties

audios: MediumProps[]

List of video objects to be displayed in the modal.

initialIndex: number

Index of the video to display initially.

mode?: "light" | "dark"
onClose: VoidFunction

Function to close the modal.

open: boolean

Whether the modal is open or closed.