react-common-use-components
Version:
A React mobile commonly used component library
14 lines (13 loc) • 544 B
TypeScript
import React, { CSSProperties, ReactNode } from "react";
import { ProgressBarProps } from "../ProgressBar/ProgressBar";
interface AudioPlayerProps {
url: string;
playIcon?: ReactNode;
pauseIcon?: ReactNode;
forwardIcon?: ReactNode;
progressBarConfig?: ProgressBarProps;
backwardIcon?: ReactNode;
timeTextStyle?: CSSProperties;
}
declare const AudioPlayer: ({ url, playIcon, pauseIcon, forwardIcon, progressBarConfig, backwardIcon, timeTextStyle }: AudioPlayerProps) => React.JSX.Element;
export default AudioPlayer;