mui-audio-player-plus
Version:
Audio Player component for Material UI
22 lines (21 loc) • 740 B
TypeScript
/// <reference types="react" />
import type { Palette, Theme, SxProps, SliderProps } from "@mui/material";
import type { IconButtonProps } from "@mui/material/IconButton";
interface AudioPlayerProps {
src: string;
id?: string;
display?: "waveform" | "timeline";
inline?: boolean;
paperize?: boolean;
waveColor?: keyof Palette | string;
waveHeight?: number;
showTimestamps?: boolean;
playPauseIconButtonProps?: IconButtonProps;
containerSx?: SxProps<Theme>;
containerHeight?: string | number;
containerWidth?: string | number;
inlineSliderProps?: SliderProps;
size?: "small" | "medium" | "large";
}
export default function AudioPlayer(props: AudioPlayerProps): JSX.Element;
export {};